Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .evergreen/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ functions:
set -o xtrace
# This is required for pypy3.7 UTF encoding
export LC_ALL=en_US.UTF-8
${PYTHON_BINARY} -m tox -e test-atlas
${PYTHON_BINARY} -m tox -m test-atlas

"add aws auth variables to file":
- command: shell.exec
Expand Down
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
testpaths =
test
norecursedirs = test/*
addopts = -ra --junitxml=xunit-results/TEST-results.xml
8 changes: 4 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -46,15 +46,15 @@ deps =
pytest>=7
commands =
python --version
pytest -v -rs {posargs}
pytest -v {posargs}

[testenv:test-encryption]
description = run base unit tests with encryption enabled
deps = {[testenv:test]deps}
extras = encryption
commands =
python --version
pytest {posargs}
pytest -v {posargs}

[testenv:lint]
description = run pre-commit
Expand Down Expand Up @@ -145,7 +145,7 @@ deps =
{[testenv:test]deps}
passenv = *
commands =
python -m pytest -v ./test/atlas/test_connection.py
python -m pytest -v {posargs} ./test/atlas/test_connection.py

[testenv:test-mockupdb]
description = run mockupdb tests
Expand All @@ -154,4 +154,4 @@ deps =
https://github.com/ajdavis/mongo-mockup-db/archive/master.zip
passenv = *
commands =
python -m pytest -v ./test/mockupdb
python -m pytest -v {posargs} ./test/mockupdb