mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-06-09 15:53:56 +02:00
af9b3d08cc
Add Telegram OSINT with hourly incremental t.me scraping, metro geocoding separate from news centroids, threat-intercept popup UI with inline media, and HTML markers above alert boxes so pins stay clickable. Expose GFW_API_TOKEN in onboarding and Settings Maritime; harden GFW/CCTV/geo fetchers. Port Osiris- derived recon, SCM, entity graph, malware/cyber feeds, sanctions, and submarine cable layers with tests and documentation. Co-authored-by: Cursor <cursoragent@cursor.com>
11 lines
446 B
Python
11 lines
446 B
Python
"""Datacenters load from static JSON regardless of layer toggle."""
|
|
from services.fetchers import _store
|
|
from services.fetchers.infrastructure import fetch_datacenters
|
|
|
|
|
|
def test_fetch_datacenters_populates_store_when_layer_disabled(monkeypatch):
|
|
monkeypatch.setitem(_store.active_layers, "datacenters", False)
|
|
_store.latest_data["datacenters"] = []
|
|
fetch_datacenters()
|
|
assert len(_store.latest_data.get("datacenters") or []) > 0
|