Skip to content

Commit

Permalink
fixed ordering
Browse files Browse the repository at this point in the history
  • Loading branch information
hugsy committed Jan 8, 2024
1 parent 3c124dc commit 21326f7
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,8 @@ def setUp(self) -> None:
assert isinstance(self._target, pathlib.Path) # type: ignore pylint: disable=E1101
assert self._target.exists() # type: ignore pylint: disable=E1101
self._port = random.randint(1025, 65535)
self._commands = f"""
source {GEF_PATH}
gef config gef.debug True
gef config gef.propagate_debug_exception True
gef config gef.disable_color True
source {RPYC_GEF_PATH}
"""
self._commands = ""

if COVERAGE_DIR:
self._coverage_file = pathlib.Path(COVERAGE_DIR) / os.getenv(
"PYTEST_XDIST_WORKER", "gw0"
Expand All @@ -50,6 +45,11 @@ def setUp(self) -> None:
"""

self._commands += f"""
source {GEF_PATH}
gef config gef.debug True
gef config gef.propagate_debug_exception True
gef config gef.disable_color True
source {RPYC_GEF_PATH}
pi start_rpyc_service({self._port})
"""

Expand Down

0 comments on commit 21326f7

Please sign in to comment.