docs: update Home Assistant app navigation
CI / validate (pull_request) Failing after 2m24s

This commit is contained in:
Dennis Juhler Aagaard
2026-09-24 22:05:54 +02:00
parent 2fec7e976e
commit f4cda13d9c
4 changed files with 26 additions and 20 deletions
+6
View File
@@ -55,6 +55,7 @@ def test_user_guide_documentation_contract() -> None:
documentation = (ROOT / "stelloauth/DOCS.md").read_text(encoding="utf-8")
for required_text in (
REPOSITORY_URL,
"Indstillinger → Apps → Installér app → ⋮ →",
"Installér **Stelloauth**",
"aktivér **Start ved opstart** og **Watchdog**",
"http://0031621f-stelloauth:8080/worker",
@@ -67,16 +68,20 @@ def test_user_guide_documentation_contract() -> None:
"approximately 4 GB free",
"Der er ikke gennemført et live MyOpel-login.",
"Login-flow RAM: not measured without real MyOpel credentials.",
"Fjernelse sker i **Indstillinger → Apps → Stelloauth → Afinstallér**.",
):
assert required_text in documentation
assert "deaktivér porttilknytningen igen" in documentation
assert "Seneste idle RAM" not in documentation
assert "Tilføjelser" not in documentation
assert "Tilføjelsesbutik" not in documentation
def test_root_readme_repository_source_and_license_facts() -> None:
readme = (ROOT / "README.md").read_text(encoding="utf-8")
for required_text in (
REPOSITORY_URL,
"Indstillinger → Apps → Installér app → ⋮ → Repositorier",
"v0.6.0",
"367d4f8c02a3b072c59142c49dffc129edc8548b",
"0.5.10",
@@ -85,6 +90,7 @@ def test_root_readme_repository_source_and_license_facts() -> None:
"MIT-licenseret",
):
assert required_text in readme
assert "Tilføjelsesbutik" not in readme
def test_translations_cover_every_option() -> None:
keys = set(load_yaml("stelloauth/config.yaml")["options"])