File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ functions:
565565 set -o xtrace
566566 # This is required for pypy3.7 UTF encoding
567567 export LC_ALL=en_US.UTF-8
568- ${PYTHON_BINARY} -m tox -e test-atlas
568+ ${PYTHON_BINARY} -m tox -m test-atlas
569569
570570 " add aws auth variables to file " :
571571 - command : shell.exec
Original file line number Diff line number Diff line change 22testpaths =
33 test
44norecursedirs = test/*
5+ addopts = -ra --junitxml =xunit-results/TEST-results.xml
Original file line number Diff line number Diff line change @@ -46,15 +46,15 @@ deps =
4646 pytest>=7
4747commands =
4848 python --version
49- pytest -v -rs {posargs}
49+ pytest -v {posargs}
5050
5151[testenv:test-encryption]
5252description = run base unit tests with encryption enabled
5353deps = {[testenv:test]deps}
5454extras = encryption
5555commands =
5656 python --version
57- pytest {posargs}
57+ pytest -v {posargs}
5858
5959[testenv:lint]
6060description = run pre-commit
@@ -145,7 +145,7 @@ deps =
145145 {[testenv:test]deps}
146146passenv = *
147147commands =
148- python -m pytest -v ./test/atlas/test_connection.py
148+ python -m pytest -v {posargs} ./test/atlas/test_connection.py
149149
150150[testenv:test-mockupdb]
151151description = run mockupdb tests
@@ -154,4 +154,4 @@ deps =
154154 https://github.com/ajdavis/mongo-mockup-db/archive/master.zip
155155passenv = *
156156commands =
157- python -m pytest -v ./test/mockupdb
157+ python -m pytest -v {posargs} ./test/mockupdb
You can’t perform that action at this time.
0 commit comments