Call module directly rather than binary
This commit is contained in:
parent
fc89f29693
commit
5869befecb
1 changed files with 3 additions and 2 deletions
|
@ -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),
|
||||
|
|
Reference in a new issue