mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-08-02 02:01:49 +02:00
v0.9.6: InfoNet hashchain, Wormhole gate encryption, mesh reputation, 16 community contributors
Gate messages now propagate via the Infonet hashchain as encrypted blobs — every node syncs them through normal chain sync while only Gate members with MLS keys can decrypt. Added mesh reputation system, peer push workers, voluntary Wormhole opt-in for node participation, fork recovery, killwormhole scripts, obfuscated terminology, and hardened the self-updater to protect encryption keys and chain state during updates. New features: Shodan search, train tracking, Sentinel Hub imagery, 8 new intelligence layers, CCTV expansion to 11,000+ cameras across 6 countries, Mesh Terminal CLI, prediction markets, desktop-shell scaffold, and comprehensive mesh test suite (215 frontend + backend tests passing). Community contributors: @wa1id, @AlborzNazari, @adust09, @Xpirix, @imqdcr, @csysp, @suranyami, @chr0n1x, @johan-martensson, @singularfailure, @smithbh, @OrfeoTerkuci, @deuza, @tm-const, @Elhard1, @ttulttul
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
"""Tests for the shared in-memory data store."""
|
||||
|
||||
import threading
|
||||
import time
|
||||
import pytest
|
||||
@@ -10,19 +11,46 @@ class TestLatestDataStructure:
|
||||
|
||||
def test_has_all_required_keys(self):
|
||||
expected_keys = {
|
||||
"last_updated", "news", "stocks", "oil", "flights", "ships",
|
||||
"military_flights", "tracked_flights", "cctv", "weather",
|
||||
"earthquakes", "uavs", "frontlines", "gdelt", "liveuamap",
|
||||
"kiwisdr", "space_weather", "internet_outages", "firms_fires",
|
||||
"datacenters"
|
||||
"last_updated",
|
||||
"news",
|
||||
"stocks",
|
||||
"oil",
|
||||
"flights",
|
||||
"ships",
|
||||
"military_flights",
|
||||
"tracked_flights",
|
||||
"cctv",
|
||||
"weather",
|
||||
"earthquakes",
|
||||
"uavs",
|
||||
"frontlines",
|
||||
"gdelt",
|
||||
"liveuamap",
|
||||
"kiwisdr",
|
||||
"space_weather",
|
||||
"internet_outages",
|
||||
"firms_fires",
|
||||
"datacenters",
|
||||
}
|
||||
assert expected_keys.issubset(set(latest_data.keys()))
|
||||
|
||||
def test_list_keys_default_to_empty_list(self):
|
||||
list_keys = ["news", "flights", "ships", "military_flights",
|
||||
"tracked_flights", "cctv", "earthquakes", "uavs",
|
||||
"gdelt", "liveuamap", "kiwisdr", "internet_outages",
|
||||
"firms_fires", "datacenters"]
|
||||
list_keys = [
|
||||
"news",
|
||||
"flights",
|
||||
"ships",
|
||||
"military_flights",
|
||||
"tracked_flights",
|
||||
"cctv",
|
||||
"earthquakes",
|
||||
"uavs",
|
||||
"gdelt",
|
||||
"liveuamap",
|
||||
"kiwisdr",
|
||||
"internet_outages",
|
||||
"firms_fires",
|
||||
"datacenters",
|
||||
]
|
||||
for key in list_keys:
|
||||
assert isinstance(latest_data[key], list), f"{key} should default to list"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user