Skip to content

Commit 566e88c

Browse files
committed
Extend to macOS.
1 parent 995175d commit 566e88c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/ssh_test_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def setup_ssh_container(container_name):
105105
image_path = Path(__file__).parent / "ssh_test_images"
106106
os.chdir(image_path)
107107

108-
if platform.system() == "Linux":
108+
if platform.system() != "Windows":
109109
build_command = "sudo docker build -t ssh_server ."
110110
run_command = f"sudo docker run -d -p {PORT}:22 --name {container_name} ssh_server"
111111
else:

0 commit comments

Comments
 (0)