Skip to content

Commit 4a66b43

Browse files
committed
conftest: use python -m labgrid.remote.coordinator
Use the module invocation to start the coordinator instead of the created wrapper script. This way we ensure that the correct coordinator from the labgrid module in the current environment is used instead of a possible wrapper shell script that might invoke a different coordinator. Signed-off-by: Rouven Czerwinski <[email protected]>
1 parent 6d8febb commit 4a66b43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ def start(self):
147147
assert self.reader is None
148148

149149
self.spawn = pexpect.spawn(
150-
'labgrid-coordinator',
150+
'python -m labgrid.remote.coordinator',
151151
logfile=Prefixer(sys.stdout.buffer, 'coordinator'),
152152
cwd=self.cwd)
153153
try:

0 commit comments

Comments
 (0)