Spaces:
Sleeping
Sleeping
File size: 485 Bytes
b65f9e0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | from zai2api.admin_page import render_admin_page
def test_admin_page_renders_api_route_copy_without_breaking_script_templates() -> None:
html = render_admin_page()
assert "Control whether <code>/v1/*</code> requires a password" in html
def test_admin_page_uses_light_fluent_styling_and_scrollable_content() -> None:
html = render_admin_page()
assert "color-scheme: light;" in html
assert "display: flex;" in html
assert "overflow-wrap: anywhere;" in html
|