fix:untergrenze geschützte Seiten
This commit is contained in:
1 parent
f18298d07f
commit
5e50183cc4
1 file changed
+2
-1
@@ -174,7 +174,8 @@ def test_protected_pages_need_login_and_rights(app: Any) -> None:
|
|||||||
if denied.status_code == 303:
|
if denied.status_code == 303:
|
||||||
assert not denied.headers["location"].startswith(path), path
|
assert not denied.headers["location"].startswith(path), path
|
||||||
checked += 1
|
checked += 1
|
||||||
assert checked > 40, _describe(app) # die Prüfung erfasst die Routen wirklich
|
# Stand Phase 10: 38 geschützte Seiten; die Untergrenze fängt eine leere Erfassung ab
|
||||||
|
assert checked > 30, _describe(app)
|
||||||
|
|
||||||
|
|
||||||
def test_security_headers_on_all_kinds_of_responses(app: Any) -> None:
|
def test_security_headers_on_all_kinds_of_responses(app: Any) -> None:
|
||||||
|
|||||||
Reference in new issue
Block a user