Use a different pytest contexts flag name to not conflict with the in-process version
This commit is contained in:
@@ -44,8 +44,8 @@ def pytest_configure(config):
|
||||
def pytest_addoption(parser):
|
||||
group = parser.getgroup("coverage")
|
||||
group.addoption(
|
||||
"--pytest-contexts",
|
||||
"--pytest-remote-contexts",
|
||||
action="store_true",
|
||||
dest="pytest-contexts",
|
||||
help="Capture the pytest contexts that coverage is being captured in",
|
||||
help="Capture the pytest contexts that coverage is being captured in in another process",
|
||||
)
|
||||
|
||||
@@ -179,7 +179,7 @@ case "$TEST_SUITE" in
|
||||
PAVER_ARGS="$PAVER_ARGS --with-wtw=origin/master"
|
||||
fi
|
||||
if [[ -n "$COLLECT_WHO_TESTS_WHAT" ]]; then
|
||||
PAVER_ARGS="$PAVER_ARGS --pytest-contexts --coveragerc=common/test/acceptance/.coveragerc"
|
||||
PAVER_ARGS="$PAVER_ARGS --pytest-remote-contexts --coveragerc=common/test/acceptance/.coveragerc"
|
||||
fi
|
||||
export BOKCHOY_HEADLESS=true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user