1 parent 3f71e2f commit aca744bCopy full SHA for aca744b
1 file changed
tests/login_test.py
@@ -630,7 +630,10 @@ def test_plugin_page_assets() -> None:
630
"page does not read credentials",
631
)
632
check("Authorization" not in app, "page does not handle Dashboard tokens")
633
- check("location.protocol" in app and "HTTPS" in app, "page warns on plain HTTP")
+ check(
634
+ "transport-warning" not in html and "location.protocol" not in app,
635
+ "page does not render an HTTP warning",
636
+ )
637
638
639
def main() -> int:
0 commit comments