feat: Import-Rollback fuer bestaetigte Auszuege (v0.3.0)
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -39,10 +39,12 @@ def test_import_list_fragment_renders_after_login(client):
|
||||
|
||||
|
||||
def test_version_visible(client):
|
||||
from pathlib import Path
|
||||
version = (Path(__file__).resolve().parent.parent / "VERSION").read_text().strip()
|
||||
r = client.get("/api/version", headers={"Authorization": "Bearer test-key"})
|
||||
assert r.status_code == 200 and r.json()["version"] == "0.2.0"
|
||||
assert r.status_code == 200 and r.json()["version"] == version
|
||||
client.post("/login", data={"username": "admin", "password": "geheim"})
|
||||
assert "v0.2.0" in client.get("/").text
|
||||
assert f"v{version}" in client.get("/").text
|
||||
|
||||
|
||||
def test_buchungen_pagination(client, db):
|
||||
|
||||
Reference in New Issue
Block a user