Skip to content

Commit 352e580

Browse files
author
Piotr Dybowski
committed
Disable passing extra arguments option for pytest invocation for middleman_protocol and signing_service
Due to a BUG in pytest: (pytest-dev/pytest#1618) `-p no:django` doesn't work for parallel runs, causing pytest to expect Django setup in non-Django apps and thus failing.
1 parent 616a9a4 commit 352e580

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

run_tests.sh

+6-4
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,18 @@ cd middleman_protocol/
4949
pytest -p no:django \
5050
--cov-report term-missing \
5151
--cov-config ../coverage-config \
52-
--cov=$MODULE $PATTERN \
53-
${TEST_RUNNER_EXTRA_ARGUMENTS}
52+
--cov=$MODULE $PATTERN
53+
# temporarily disabled due to a BUG in pytest-django / pytest-xdist
54+
# ${TEST_RUNNER_EXTRA_ARGUMENTS}
5455
rm .coverage
5556
cd ..
5657

5758
cd signing_service/
5859
pytest -p no:django \
5960
--cov-report term-missing \
6061
--cov-config ../coverage-config \
61-
--cov=$MODULE $PATTERN \
62-
${TEST_RUNNER_EXTRA_ARGUMENTS}
62+
--cov=$MODULE $PATTERN
63+
# temporarily disabled due to a BUG in pytest-django / pytest-xdist
64+
# ${TEST_RUNNER_EXTRA_ARGUMENTS}
6365
rm .coverage
6466
cd ..

0 commit comments

Comments
 (0)