fix: destroy charts when switching tabs
This commit is contained in:
parent
bf09af6b5e
commit
297c913f2a
7 changed files with 22 additions and 18 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue