fix(F98-I2): State-Konsistenz B16 + Cascade B15
B16: effective_multiroom() — EINE Wahrheitsquelle für Multiroom.
Root-Cause: RC_MULTIROOM=${RC_MULTIROOM:-true} wurde VOR dem .env-Read
gesetzt → --repair (frische Shell) überschrieb die Wizard-Wahl N mit true.
Jetzt: Reihenfolge env MULTIROOM_AGENT → .env MULTIROOM_AGENT → RC_MULTIROOM
→ Default true. Default-Init in read_env + compute_cascade entfernt,
compute_cascade ruft effective_multiroom auf.
B15: ARCHIVAR_BASE_URL in compute_cascade abgeleitet.
Lokales Ollama → localhost:11434, Remote/Cloud → PROVIDER_BASE_URL.
write_env_file + repair_env_file nutzen ${ARCHIVAR_BASE_URL:-...}.
Tests: test_f98_i2.py (B16 effective_multiroom + B20 systemd-Machine + B18
Stufe 8), test_f98_cascade.py um B15-Zellen + effective_multiroom-Extraktion
erweitert. 82 passed.
Branch main @ 209daf8. KEIN Push, KEIN Deploy.
This commit is contained in:
+64
-5
@@ -168,7 +168,6 @@ read_env() {
|
||||
COMPRESSION_THRESHOLD="${COMPRESSION_THRESHOLD:-$DEFAULT_COMPRESSION_THRESHOLD}"
|
||||
# Optionale Tunables
|
||||
ROCKETCHAT_HOME_CHANNEL="${ROCKETCHAT_HOME_CHANNEL:-${ROCKETCHAT_ROOM_NAME:-}}"
|
||||
RC_MULTIROOM="${RC_MULTIROOM:-true}" # V8.5 mit Archivar = Default
|
||||
ROCKETCHAT_ALLOW_ALL_USERS="${ROCKETCHAT_ALLOW_ALL_USERS:-true}"
|
||||
GATEWAY_ALLOW_ALL_USERS="${GATEWAY_ALLOW_ALL_USERS:-true}"
|
||||
ROCKETCHAT_PING_SEC="${ROCKETCHAT_PING_SEC:-8}"
|
||||
@@ -183,6 +182,56 @@ read_env() {
|
||||
OLLAMA_KEEP_ALIVE="${OLLAMA_KEEP_ALIVE:--1}"
|
||||
}
|
||||
|
||||
# ──────────────────────────────────────────────────────────────────────────
|
||||
# F98 B16 — effective_multiroom(): EINE Wahrheitsquelle für Multiroom.
|
||||
#
|
||||
# Root-Cause: RC_MULTIROOM="${RC_MULTIROOM:-true}" wurde VOR dem .env-Read
|
||||
# gesetzt. --repair startet eine frische Shell → Variable leer → Default true
|
||||
# greift → FAISS-Stufe 5 + repair_env_file mergen mit falschem Wert, obwohl
|
||||
# der Wizard N gewählt und MULTIROOM_AGENT=false in .env geschrieben hat.
|
||||
#
|
||||
# Diese Funktion liest die Wahrheit aus EINER Quelle (erste gewinnt):
|
||||
# 1. $MULTIROOM_AGENT aus env (wenn exportiert)
|
||||
# 2. grep '^MULTIROOM_AGENT=' ~/.hermes/.env → Wert extrahieren
|
||||
# 3. $RC_MULTIROOM aus env (wenn exportiert)
|
||||
# 4. Default "true" (V8.5 mit Archivar)
|
||||
# Gibt "true" oder "false" auf stdout zurück.
|
||||
# ──────────────────────────────────────────────────────────────────────────
|
||||
effective_multiroom() {
|
||||
# 1. MULTIROOM_AGENT aus env (z.B. wenn systemd-Drop-in gelesen wurde).
|
||||
if [ -n "${MULTIROOM_AGENT:-}" ]; then
|
||||
case "${MULTIROOM_AGENT}" in
|
||||
true|1|yes|on) echo "true"; return 0 ;;
|
||||
false|0|no|off) echo "false"; return 0 ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# 2. MULTIROOM_AGENT aus ~/.hermes/.env (vom Wizard geschrieben).
|
||||
local envfile="$HOME/.hermes/.env"
|
||||
if [ -f "$envfile" ]; then
|
||||
local env_val
|
||||
env_val="$(grep '^MULTIROOM_AGENT=' "$envfile" 2>/dev/null | head -1 | cut -d= -f2- | tr -d '[:space:]')"
|
||||
if [ -n "$env_val" ]; then
|
||||
case "$env_val" in
|
||||
true|1|yes|on) echo "true"; return 0 ;;
|
||||
false|0|no|off) echo "false"; return 0 ;;
|
||||
esac
|
||||
fi
|
||||
fi
|
||||
|
||||
# 3. RC_MULTIROOM aus env (Wizard setzt es in der aktuellen Shell).
|
||||
if [ -n "${RC_MULTIROOM:-}" ]; then
|
||||
case "${RC_MULTIROOM}" in
|
||||
true|1|yes|on) echo "true"; return 0 ;;
|
||||
false|0|no|off) echo "false"; return 0 ;;
|
||||
esac
|
||||
fi
|
||||
|
||||
# 4. Default.
|
||||
echo "true"
|
||||
return 0
|
||||
}
|
||||
|
||||
# ──────────────────────────────────────────────────────────────────────────
|
||||
# F98: Auto-Update-Check (Andreas-Direktive 31.08.)
|
||||
# Prüft bei JEDEM Lauf, ob auf Gitea eine neuere Version liegt, und zieht
|
||||
@@ -1461,7 +1510,7 @@ write_env_file() {
|
||||
echo "# ── Archivar (lokal) ──"
|
||||
echo "# P8: LLM/Embeddings laufen lokal via Ollama, NICHT über die Cloud."
|
||||
echo "ARCHIVAR_ENABLE_LLM=true"
|
||||
echo "ARCHIVAR_LLM_BASE_URL=${ARCHIVAR_LLM_BASE_URL}"
|
||||
echo "ARCHIVAR_LLM_BASE_URL=${ARCHIVAR_BASE_URL:-$ARCHIVAR_LLM_BASE_URL}"
|
||||
echo "ARCHIVAR_EMBEDDING_BASE_URL=${ARCHIVAR_EMBEDDING_BASE_URL}"
|
||||
echo ""
|
||||
echo "# ── Rocket.Chat Identität (P4: bot-spezifisch) ──"
|
||||
@@ -2247,7 +2296,7 @@ repair_env_file() {
|
||||
# KEY=VALUE-Paare (nur nicht-secret Keys mit Defaults).
|
||||
local -a pairs=(
|
||||
"ARCHIVAR_ENABLE_LLM=true"
|
||||
"ARCHIVAR_LLM_BASE_URL=${ARCHIVAR_LLM_BASE_URL}"
|
||||
"ARCHIVAR_LLM_BASE_URL=${ARCHIVAR_BASE_URL:-$ARCHIVAR_LLM_BASE_URL}"
|
||||
"ARCHIVAR_EMBEDDING_BASE_URL=${ARCHIVAR_EMBEDDING_BASE_URL}"
|
||||
"ROCKETCHAT_BASE_URL=${ROCKETCHAT_BASE_URL}"
|
||||
"ROCKETCHAT_USER=${ROCKETCHAT_USER}"
|
||||
@@ -2536,7 +2585,9 @@ compute_cascade() {
|
||||
# Provider + Multiroom konsistent auflösen (Wizard und Hauptfluss münden
|
||||
# hier in dieselben Variablen — Niagara-Punkt 1, Konzept §3.1).
|
||||
PROVIDER="${PROVIDER:-none}"
|
||||
RC_MULTIROOM="${RC_MULTIROOM:-true}"
|
||||
# F98 B16: Multiroom-Wahrheit aus EINER Quelle (effective_multiroom), nicht
|
||||
# aus einem Default-Init, der die .env-Wahl des Wizards überschreibt.
|
||||
RC_MULTIROOM="$(effective_multiroom)"
|
||||
|
||||
# FAISS: nur bei Multiroom (Single-Room braucht kein FAISS — Konzept §3.3 Regel 3).
|
||||
if [ "$RC_MULTIROOM" = "true" ]; then
|
||||
@@ -2571,7 +2622,15 @@ compute_cascade() {
|
||||
;;
|
||||
esac
|
||||
|
||||
log "Cascade: PROVIDER=$PROVIDER MULTIROOM=$RC_MULTIROOM → Ollama-Install=$OLLAMA_INSTALL_REQUIRED, Modelle=${MODEL_PULL_REQUIRED[*]:-"(keine)"}, FAISS=$FAISS_REQUIRED"
|
||||
# B15: ARCHIVAR_BASE_URL hängt von OLLAMA_INSTALL_REQUIRED ab, das erst im
|
||||
# case-Block gesetzt wird — hier final auflösen.
|
||||
if $OLLAMA_INSTALL_REQUIRED; then
|
||||
ARCHIVAR_BASE_URL="http://localhost:11434"
|
||||
else
|
||||
ARCHIVAR_BASE_URL="${PROVIDER_BASE_URL:-http://localhost:11434}"
|
||||
fi
|
||||
|
||||
log "Cascade: PROVIDER=$PROVIDER MULTIROOM=$RC_MULTIROOM → Ollama-Install=$OLLAMA_INSTALL_REQUIRED, Modelle=${MODEL_PULL_REQUIRED[*]:-"(keine)"}, FAISS=$FAISS_REQUIRED, Archivar-Base=$ARCHIVAR_BASE_URL"
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
@@ -70,13 +70,14 @@ def _run_cascade(provider: str, multiroom: str) -> tuple[str, str, int]:
|
||||
"""Führt compute_cascade() mit gegebenem Provider/Multiroom aus und gibt
|
||||
(stdout, stderr, rc) zurück."""
|
||||
snippet = (
|
||||
_extract_functions("compute_cascade")
|
||||
_extract_functions("effective_multiroom", "compute_cascade")
|
||||
+ f"PROVIDER='{provider}'\n"
|
||||
+ f"RC_MULTIROOM='{multiroom}'\n"
|
||||
+ "compute_cascade\n"
|
||||
+ "echo \"OLLAMA_INSTALL_REQUIRED=$OLLAMA_INSTALL_REQUIRED\"\n"
|
||||
+ "echo \"FAISS_REQUIRED=$FAISS_REQUIRED\"\n"
|
||||
+ "echo \"MODEL_PULL_REQUIRED=${MODEL_PULL_REQUIRED[*]}\"\n"
|
||||
+ "echo \"ARCHIVAR_BASE_URL=$ARCHIVAR_BASE_URL\"\n"
|
||||
)
|
||||
env = {"PATH": "/usr/bin:/bin:/usr/local/bin", "HOME": "/tmp/f98-cascade-home"}
|
||||
result = subprocess.run(
|
||||
@@ -106,6 +107,8 @@ class TestComputeCascadeMatrix:
|
||||
assert d["FAISS_REQUIRED"] == "true"
|
||||
assert "qwen2.5:7b" in d["MODEL_PULL_REQUIRED"]
|
||||
assert "nomic-embed-text" in d["MODEL_PULL_REQUIRED"]
|
||||
# B15: lokales Ollama → Archivar zeigt auf localhost:11434
|
||||
assert d["ARCHIVAR_BASE_URL"] == "http://localhost:11434"
|
||||
|
||||
def test_ollama_single(self):
|
||||
out, err, rc = _run_cascade("ollama", "false")
|
||||
@@ -189,6 +192,46 @@ class TestCascadeIntegration:
|
||||
content = _read_install_sh()
|
||||
assert "compute_cascade()" in content
|
||||
|
||||
def test_effective_multiroom_function_exists(self):
|
||||
content = _read_install_sh()
|
||||
assert "effective_multiroom()" in content
|
||||
|
||||
def test_archivar_base_url_remote_provider(self):
|
||||
"""B15: Remote-Provider (custom/DGX) → ARCHIVAR_BASE_URL = Provider-URL."""
|
||||
snippet = (
|
||||
_extract_functions("effective_multiroom", "compute_cascade")
|
||||
+ "PROVIDER='custom'\n"
|
||||
+ "PROVIDER_BASE_URL='http://192.168.180.46:7999/v1'\n"
|
||||
+ "RC_MULTIROOM='true'\n"
|
||||
+ "compute_cascade\n"
|
||||
+ "echo \"ARCHIVAR_BASE_URL=$ARCHIVAR_BASE_URL\"\n"
|
||||
)
|
||||
env = {"PATH": "/usr/bin:/bin:/usr/local/bin", "HOME": "/tmp/f98-cascade-home"}
|
||||
result = subprocess.run(
|
||||
["bash", "-c", snippet],
|
||||
capture_output=True, text=True, env=env, timeout=30,
|
||||
)
|
||||
assert result.returncode == 0, f"compute_cascade crashte:\n{result.stdout}\n{result.stderr}"
|
||||
assert "ARCHIVAR_BASE_URL=http://192.168.180.46:7999/v1" in result.stdout
|
||||
|
||||
def test_archivar_base_url_cloud_provider_fallback(self):
|
||||
"""B15: Cloud-Provider ohne PROVIDER_BASE_URL → Fallback localhost."""
|
||||
snippet = (
|
||||
_extract_functions("effective_multiroom", "compute_cascade")
|
||||
+ "PROVIDER='openrouter'\n"
|
||||
+ "PROVIDER_BASE_URL=''\n"
|
||||
+ "RC_MULTIROOM='true'\n"
|
||||
+ "compute_cascade\n"
|
||||
+ "echo \"ARCHIVAR_BASE_URL=$ARCHIVAR_BASE_URL\"\n"
|
||||
)
|
||||
env = {"PATH": "/usr/bin:/bin:/usr/local/bin", "HOME": "/tmp/f98-cascade-home"}
|
||||
result = subprocess.run(
|
||||
["bash", "-c", snippet],
|
||||
capture_output=True, text=True, env=env, timeout=30,
|
||||
)
|
||||
assert result.returncode == 0
|
||||
assert "ARCHIVAR_BASE_URL=http://localhost:11434" in result.stdout
|
||||
|
||||
def test_ollama_install_conditional(self):
|
||||
"""install_system_deps: Ollama-Block in `if $OLLAMA_INSTALL_REQUIRED`."""
|
||||
content = _read_install_sh()
|
||||
|
||||
@@ -0,0 +1,210 @@
|
||||
"""
|
||||
F98-I2: B16 State-Konsistenz (effective_multiroom) + B20 systemd-Machine-Fix Tests.
|
||||
|
||||
Testet die Iteration-2-Fixes aus Rainers Architektur-Review:
|
||||
1. B16: effective_multiroom() liest Multiroom-Wahrheit aus EINER Quelle
|
||||
(env MULTIROOM_AGENT → .env → RC_MULTIROOM → Default true).
|
||||
2. B20: gateway_systemctl_v2() nutzt im sudo-Kontext --machine=<user>@.host.
|
||||
3. B18: check_components() setzt REPAIR_UNIT_MISSING bei fehlender Unit.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
import pytest
|
||||
|
||||
|
||||
INSTALL_SH = Path(__file__).resolve().parents[1] / "install.sh"
|
||||
|
||||
|
||||
def _read_install_sh() -> str:
|
||||
return INSTALL_SH.read_text()
|
||||
|
||||
|
||||
def _extract_functions(*names: str) -> str:
|
||||
"""Extrahiert Funktions-Definitionen (plus log-Helfer) aus install.sh."""
|
||||
content = INSTALL_SH.read_text()
|
||||
lines = content.splitlines()
|
||||
|
||||
def _find_func(name: str) -> tuple[int, int] | None:
|
||||
start = None
|
||||
for i, line in enumerate(lines):
|
||||
if line.startswith(f"{name}()"):
|
||||
start = i
|
||||
break
|
||||
if start is None:
|
||||
return None
|
||||
end = start
|
||||
for j in range(start + 1, len(lines)):
|
||||
if lines[j].strip() == "}":
|
||||
end = j
|
||||
break
|
||||
return start, end
|
||||
|
||||
header_parts = []
|
||||
for helper in ("mask_secrets", "log", "warn", "err", "ok", "banner", "die"):
|
||||
r = _find_func(helper)
|
||||
if r:
|
||||
header_parts.append("\n".join(lines[r[0]:r[1] + 1]))
|
||||
header = "C_RESET=''; C_BLUE=''; C_GREEN=''; C_YELLOW=''; C_RED=''; C_BOLD=''\n\n" + "\n\n".join(header_parts)
|
||||
|
||||
funcs = []
|
||||
for name in names:
|
||||
r = _find_func(name)
|
||||
if r:
|
||||
funcs.append("\n".join(lines[r[0]:r[1] + 1]))
|
||||
return header + "\n\n" + "\n\n".join(funcs) + "\n"
|
||||
|
||||
|
||||
def _run_bash(snippet: str, extra_env: dict | None = None) -> tuple[str, str, int]:
|
||||
env = {
|
||||
"PATH": "/usr/bin:/bin:/usr/local/bin",
|
||||
"HOME": "/tmp/f98-i2-home",
|
||||
}
|
||||
if extra_env:
|
||||
env.update(extra_env)
|
||||
result = subprocess.run(
|
||||
["bash", "-c", snippet],
|
||||
capture_output=True, text=True, env=env, timeout=30,
|
||||
)
|
||||
return result.stdout, result.stderr, result.returncode
|
||||
|
||||
|
||||
class TestEffectiveMultiroom:
|
||||
"""B16: effective_multiroom() — eine Wahrheitsquelle für Multiroom."""
|
||||
|
||||
def test_env_multiroom_agent_wins(self):
|
||||
snippet = (
|
||||
_extract_functions("effective_multiroom")
|
||||
+ "MULTIROOM_AGENT='false'\n"
|
||||
+ "RC_MULTIROOM='true'\n"
|
||||
+ "echo \"RESULT=$(effective_multiroom)\"\n"
|
||||
)
|
||||
out, err, rc = _run_bash(snippet)
|
||||
assert rc == 0, f"effective_multiroom crashte:\n{out}\n{err}"
|
||||
assert "RESULT=false" in out, f"env MULTIROOM_AGENT=false sollte gewinnen:\n{out}"
|
||||
|
||||
def test_dotenv_multiroom_agent_wins_over_rc(self):
|
||||
"""MULTIROOM_AGENT=false in .env gewinnt über RC_MULTIROOM=true."""
|
||||
import tempfile, os
|
||||
with tempfile.TemporaryDirectory() as d:
|
||||
hermes_dir = os.path.join(d, ".hermes")
|
||||
os.makedirs(hermes_dir)
|
||||
envfile = os.path.join(hermes_dir, ".env")
|
||||
with open(envfile, "w") as f:
|
||||
f.write("MULTIROOM_AGENT=false\n")
|
||||
snippet = (
|
||||
_extract_functions("effective_multiroom")
|
||||
+ f"HOME='{d}'\n"
|
||||
+ "RC_MULTIROOM='true'\n"
|
||||
+ "echo \"RESULT=$(effective_multiroom)\"\n"
|
||||
)
|
||||
out, err, rc = _run_bash(snippet)
|
||||
assert rc == 0
|
||||
assert "RESULT=false" in out, f".env MULTIROOM_AGENT=false sollte gewinnen:\n{out}\n{err}"
|
||||
|
||||
def test_rc_multiroom_used_when_no_env(self):
|
||||
snippet = (
|
||||
_extract_functions("effective_multiroom")
|
||||
+ "RC_MULTIROOM='false'\n"
|
||||
+ "echo \"RESULT=$(effective_multiroom)\"\n"
|
||||
)
|
||||
out, err, rc = _run_bash(snippet)
|
||||
assert rc == 0
|
||||
assert "RESULT=false" in out, f"RC_MULTIROOM=false sollte gewinnen:\n{out}"
|
||||
|
||||
def test_default_true_when_nothing_set(self):
|
||||
snippet = (
|
||||
_extract_functions("effective_multiroom")
|
||||
+ "echo \"RESULT=$(effective_multiroom)\"\n"
|
||||
)
|
||||
out, err, rc = _run_bash(snippet)
|
||||
assert rc == 0
|
||||
assert "RESULT=true" in out, f"Default sollte true sein:\n{out}"
|
||||
|
||||
|
||||
class TestGatewaySystemctlV2:
|
||||
"""B20: gateway_systemctl_v2() — Cross-User-fähiger systemctl-Wrapper."""
|
||||
|
||||
def test_function_exists(self):
|
||||
content = _read_install_sh()
|
||||
assert "gateway_systemctl_v2()" in content
|
||||
|
||||
def test_uses_machine_transport(self):
|
||||
"""Der Machine-Transport --machine=<user>@.host muss im Code stehen."""
|
||||
content = _read_install_sh()
|
||||
assert "--machine=" in content
|
||||
assert "@.host" in content
|
||||
|
||||
def test_derives_sudo_user(self):
|
||||
"""SUDO_USER-Ableitung muss vorhanden sein."""
|
||||
content = _read_install_sh()
|
||||
assert "SUDO_USER" in content
|
||||
|
||||
def test_non_root_uses_plain_user(self):
|
||||
"""Nicht-root: systemctl --user (kein Machine-Transport)."""
|
||||
# Simuliere nicht-root: id -u liefert 1000, USER=bernd.
|
||||
import tempfile, os
|
||||
fake_id = "#!/bin/bash\nif [ \"$1\" = \"-u\" ]; then echo 1000; exit 0; fi\nexit 0\n"
|
||||
fake_systemctl = "#!/bin/bash\necho \"ARGS=$*\"\n"
|
||||
with tempfile.TemporaryDirectory() as d:
|
||||
id_path = os.path.join(d, "id")
|
||||
sc_path = os.path.join(d, "systemctl")
|
||||
with open(id_path, "w") as f:
|
||||
f.write(fake_id)
|
||||
with open(sc_path, "w") as f:
|
||||
f.write(fake_systemctl)
|
||||
os.chmod(id_path, 0o755)
|
||||
os.chmod(sc_path, 0o755)
|
||||
snippet = (
|
||||
_extract_functions("gateway_systemctl_v2")
|
||||
+ "USER='bernd'\n"
|
||||
+ "gateway_systemctl_v2 is-active hermes-gateway\n"
|
||||
)
|
||||
out, err, rc = _run_bash(snippet, extra_env={"PATH": f"{d}:/usr/bin:/bin"})
|
||||
# Nicht-root → systemctl --user is-active hermes-gateway
|
||||
assert "--user" in out, f"Nicht-root sollte --user nutzen:\n{out}\n{err}"
|
||||
assert "--machine=" not in out, f"Nicht-root darf keinen Machine-Transport nutzen:\n{out}"
|
||||
|
||||
def test_root_uses_machine_transport(self):
|
||||
"""Root + SUDO_USER → --machine=<user>@.host --user."""
|
||||
import tempfile, os
|
||||
fake_id = "#!/bin/bash\nif [ \"$1\" = \"-u\" ]; then echo 0; exit 0; fi\nexit 0\n"
|
||||
fake_systemctl = "#!/bin/bash\necho \"ARGS=$*\"\n"
|
||||
with tempfile.TemporaryDirectory() as d:
|
||||
id_path = os.path.join(d, "id")
|
||||
sc_path = os.path.join(d, "systemctl")
|
||||
with open(id_path, "w") as f:
|
||||
f.write(fake_id)
|
||||
with open(sc_path, "w") as f:
|
||||
f.write(fake_systemctl)
|
||||
os.chmod(id_path, 0o755)
|
||||
os.chmod(sc_path, 0o755)
|
||||
snippet = (
|
||||
_extract_functions("gateway_systemctl_v2")
|
||||
+ "USER='root'\n"
|
||||
+ "SUDO_USER='bernd'\n"
|
||||
+ "gateway_systemctl_v2 is-active hermes-gateway\n"
|
||||
)
|
||||
out, err, rc = _run_bash(snippet, extra_env={"PATH": f"{d}:/usr/bin:/bin"})
|
||||
assert "--machine=bernd@.host" in out, f"Root sollte Machine-Transport nutzen:\n{out}\n{err}"
|
||||
assert "--user" in out, f"Root sollte --user behalten:\n{out}"
|
||||
|
||||
|
||||
class TestRepairUnitMissing:
|
||||
"""B18: check_components() setzt REPAIR_UNIT_MISSING bei fehlender Unit."""
|
||||
|
||||
def test_repair_unit_missing_flag_declared(self):
|
||||
content = _read_install_sh()
|
||||
assert "REPAIR_UNIT_MISSING" in content
|
||||
|
||||
def test_check_components_checks_unit_file(self):
|
||||
content = _read_install_sh()
|
||||
assert "hermes-gateway.service" in content
|
||||
assert "Stufe 8" in content
|
||||
|
||||
def test_repair_components_has_stage_8(self):
|
||||
content = _read_install_sh()
|
||||
assert "Reparatur Stufe 8" in content
|
||||
Reference in New Issue
Block a user