add(ui/ux): show the running version and build stamp in the header
This commit is contained in:
@@ -1135,3 +1135,10 @@ def test_extra_ebook_extensions_are_configurable(client, monkeypatch):
|
||||
finally:
|
||||
monkeypatch.delenv("WORDARR_EXTRA_EBOOK_EXTENSIONS")
|
||||
importlib.reload(config_module)
|
||||
|
||||
|
||||
def test_version_endpoint_reports_a_build_stamp(client):
|
||||
data = client.get("/api/version").json()
|
||||
assert data["version"]
|
||||
# "2026-09-01 15:43" - the newest source file, so a stale deploy stands out
|
||||
assert len(data["built_at"]) == 16 and data["built_at"][4] == "-"
|
||||
|
||||
Reference in New Issue
Block a user