Call module directly rather than binary

This commit is contained in:
Jake Howard 2018-12-20 16:00:57 +00:00
parent fc89f29693
commit 5869befecb
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -1,6 +1,5 @@
import functools
import os
import shutil
import subprocess
import time
from pathlib import Path
@ -55,7 +54,9 @@ class BaseWorkerTestCase(BaseTestCase):
self.unused_port = unused_port()
self.worker_process = subprocess.Popen(
[
shutil.which("ctf"),
"python",
"-m",
"catfish",
"start",
"--port",
str(self.unused_port),