File tree 3 files changed +6
-5
lines changed
3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ functions:
565
565
set -o xtrace
566
566
# This is required for pypy3.7 UTF encoding
567
567
export LC_ALL=en_US.UTF-8
568
- ${PYTHON_BINARY} -m tox -e test-atlas
568
+ ${PYTHON_BINARY} -m tox -m test-atlas
569
569
570
570
" add aws auth variables to file " :
571
571
- command : shell.exec
Original file line number Diff line number Diff line change 2
2
testpaths =
3
3
test
4
4
norecursedirs = 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 =
46
46
pytest>=7
47
47
commands =
48
48
python --version
49
- pytest -v -rs {posargs}
49
+ pytest -v {posargs}
50
50
51
51
[testenv:test-encryption]
52
52
description = run base unit tests with encryption enabled
53
53
deps = {[testenv:test]deps}
54
54
extras = encryption
55
55
commands =
56
56
python --version
57
- pytest {posargs}
57
+ pytest -v {posargs}
58
58
59
59
[testenv:lint]
60
60
description = run pre-commit
@@ -145,7 +145,7 @@ deps =
145
145
{[testenv:test]deps}
146
146
passenv = *
147
147
commands =
148
- python -m pytest -v ./test/atlas/test_connection.py
148
+ python -m pytest -v {posargs} ./test/atlas/test_connection.py
149
149
150
150
[testenv:test-mockupdb]
151
151
description = run mockupdb tests
@@ -154,4 +154,4 @@ deps =
154
154
https://github.com/ajdavis/mongo-mockup-db/archive/master.zip
155
155
passenv = *
156
156
commands =
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