We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e86aa27 commit 995175dCopy full SHA for 995175d
1 file changed
tests/tests_integration/test_ssh_setup.py
@@ -25,8 +25,7 @@ def setup_ssh_container(self):
25
26
sudo = "sudo " if platform.system() == "Linux" else ""
27
28
- subprocess.run(f"{sudo}docker stop {container_name}", shell=True)
29
- subprocess.run(f"{sudo}rm {container_name}", shell=True)
+ subprocess.run(f"{sudo}docker rm -f {container_name}", shell=True)
30
31
@pytest.fixture(scope="function")
32
def project(test, tmp_path, setup_ssh_container):
0 commit comments