mirror of
https://github.com/BigBodyCobain/Shadowbroker.git
synced 2026-08-10 12:40:34 +02:00
Wire AISHUB_USERNAME into API Keys and onboarding, and surface backup status on the AIS outage banner so operators can keep vessel coverage without changing the AISStream proxy. Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
373 B
Python
10 lines
373 B
Python
from services.api_settings import ALLOWED_ENV_KEYS, API_REGISTRY
|
|
|
|
|
|
def test_aishub_username_is_in_api_registry():
|
|
entry = next((item for item in API_REGISTRY if item.get("env_key") == "AISHUB_USERNAME"), None)
|
|
assert entry is not None
|
|
assert entry["category"] == "Maritime"
|
|
assert entry["required"] is False
|
|
assert "AISHUB_USERNAME" in ALLOWED_ENV_KEYS
|