mirror of
https://github.com/smittix/intercept.git
synced 2026-07-13 03:58:10 -07:00
test: add system group to nav state coverage
This commit is contained in:
@@ -21,5 +21,5 @@ def test_nav_groups_have_data_group_attributes(client):
|
|||||||
"""Each nav group must have a data-group attribute for state keying."""
|
"""Each nav group must have a data-group attribute for state keying."""
|
||||||
resp = _logged_in_get(client, "/")
|
resp = _logged_in_get(client, "/")
|
||||||
html = resp.data.decode()
|
html = resp.data.decode()
|
||||||
for group in ["signals", "tracking", "space", "wireless", "intel"]:
|
for group in ["signals", "tracking", "space", "wireless", "intel", "system"]:
|
||||||
assert f'data-group="{group}"' in html, f"Missing data-group={group}"
|
assert f'data-group="{group}"' in html, f"Missing data-group={group}"
|
||||||
|
|||||||
Reference in New Issue
Block a user