Skip to content

Commit 10e788e

Browse files
akbakb
authored andcommitted
Fix server fixture
1 parent 05f04dc commit 10e788e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_asynch.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _reactor():
2121
@pytest.fixture(name="server")
2222
def _server():
2323
# TODO Replace subprocess with reactor
24-
command = ["python", config.TEST_DIR / "server.py"]
24+
command = [sys.executable, "-m", "tests.server"]
2525
proc = subprocess.Popen(command, stderr=subprocess.PIPE)
2626
time.sleep(1)
2727
yield

0 commit comments

Comments
 (0)