fix: destroy charts when switching tabs

This commit is contained in:
Jordan Wages 2025-07-19 17:03:48 -05:00
commit 297c913f2a
7 changed files with 22 additions and 18 deletions

View file

@ -14,7 +14,7 @@ def test_script_invokes_commands(tmp_path):
calls = tmp_path / "calls.txt"
python_stub = tmp_path / "python"
python_stub.write_text(f"#!/usr/bin/env bash\necho \"$*\" >> \"{calls}\"\n")
python_stub.write_text(f'#!/usr/bin/env bash\necho "$*" >> "{calls}"\n')
python_stub.chmod(0o755)
(tmp_path / "python3").write_text(f"#!/usr/bin/env bash\nexit 0\n")
(tmp_path / "python3").chmod(0o755)