mirror of
https://github.com/smittix/intercept.git
synced 2026-07-06 00:28:12 -07:00
refactor(aprs,gps): use MapUtils.init + HUD panels on APRS and GPS maps
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -51,3 +51,14 @@ def test_satellite_dashboard_includes_map_utils(client):
|
||||
html = resp.data.decode()
|
||||
assert "map-utils.js" in html
|
||||
assert "MapUtils.init" in html
|
||||
|
||||
|
||||
def test_index_includes_map_utils(client):
|
||||
"""Main SPA index.html loads map-utils.js and uses it for APRS and GPS maps."""
|
||||
with client.session_transaction() as sess:
|
||||
sess["logged_in"] = True
|
||||
resp = client.get("/")
|
||||
assert resp.status_code == 200
|
||||
html = resp.data.decode()
|
||||
assert "map-utils.js" in html
|
||||
assert "MapUtils.init" in html
|
||||
|
||||
Reference in New Issue
Block a user