Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Match saved-script cleanup checks to the preserving local invocation

pulse-triage[bot]2ffb4eb8ab32
diff --git a/scripts/tests/test_agent_docs.py b/scripts/tests/test_agent_docs.py
index db95a746f1..6e7acf089c 100644
--- a/scripts/tests/test_agent_docs.py
+++ b/scripts/tests/test_agent_docs.py
@@ -387,11 +387,9 @@ PY
def test_retarget_uninstall_and_cleanup_use_saved_script_without_new_token(self):
expected = (["--retarget", "--url", "https://pulse.example.com"], ["--uninstall"],
- ["--uninstall", "--purge", "--local-only"],
- ["--uninstall", "--purge", "--remove-proxmox-access", "--local-only"])
+ ["--uninstall", "--local-only"])
commands = [recipe(NAMES[0], "--retarget --url"), recipe(NAMES[0], 'agent-install.sh" --uninstall'),
- recipe(NAMES[1], "--uninstall --purge --local-only"),
- recipe(NAMES[1], "--uninstall --purge --remove-proxmox-access")]
+ recipe(NAMES[1], "--uninstall --local-only")]
with tempfile.TemporaryDirectory() as temporary:
home = Path(temporary)
private = home / ".config/pulse"