Skip to content

Commit

Permalink
With port?
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterKraus committed Feb 26, 2024
1 parent c1709d2 commit 1f94af0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def stop_tomato_daemon(port: int = 12345):
yield
# teardown_stuff
print("stop_tomato_daemon")
subprocess.run(["tomato", "stop", "-P", f"12345"])
subprocess.run(["tomato", "stop", "-P", f"{port}"])
if psutil.WINDOWS:
subprocess.run(["taskkill", "/F", "/T", "/IM", "tomato-daemon.exe"])
subprocess.run(["taskkill", "/F", "/T", "/IM", "tomato-job.exe"])
Expand Down

0 comments on commit 1f94af0

Please sign in to comment.