fix: Aufteilung – Final-Review-Nachträge (Monat <1000, Übrige-Mitglieder, Auth-Test, Doku) (A13)
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,6 +17,12 @@ def test_pages_require_login(client):
|
||||
assert r.headers["location"] == "/login"
|
||||
|
||||
|
||||
def test_aufteilung_fragment_erfordert_login(client):
|
||||
r = client.get("/aufteilung/kategorie", follow_redirects=False)
|
||||
assert r.status_code in (302, 303)
|
||||
assert r.headers["location"] == "/login"
|
||||
|
||||
|
||||
def test_pages_render_after_login(client):
|
||||
client.post("/login", data={"username": "admin", "password": "geheim"})
|
||||
for path in ("/", "/buchungen", "/import", "/salden", "/planung", "/szenarien", "/aufteilung", "/hilfe"):
|
||||
|
||||
Reference in New Issue
Block a user