Use a different pytest contexts flag name to not conflict with the in-process version

This commit is contained in:
Calen Pennington
2019-08-06 12:37:09 -04:00
parent b57c1cdd0d
commit 0804470e7a
2 changed files with 3 additions and 3 deletions

View File

@@ -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",
)

View File

@@ -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