Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
wujiasheng03 committed Apr 17, 2024
1 parent fb0d3b4 commit 2f1fb3d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion e2e_tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import os
import sys
import signal
import pytest
import time
Expand Down Expand Up @@ -89,7 +90,7 @@ def _find_free_port(self):

def start(self, checker_path=[]):

cmdline = f'python3 -m lyrebird -b -v --no-mitm --mock {self.port} --extra-mock {self.extra_mock_port}'
cmdline = f'{sys.executable} -m lyrebird -b -v --no-mitm --mock {self.port} --extra-mock {self.extra_mock_port}'
for path in checker_path:
cmdline = cmdline + f' --script {path}'
self.lyrebird_process = subprocess.Popen(cmdline, shell=True, start_new_session=True)
Expand Down

0 comments on commit 2f1fb3d

Please sign in to comment.