Skip to content

Commit e883ee0

Browse files
committed
More cleanup
1 parent 384d4c5 commit e883ee0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.evergreen/config.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,8 @@ functions:
783783
export AWS_SESSION_TOKEN=${AWS_SESSION_TOKEN}
784784
785785
${PREPARE_SHELL}
786-
bash ${PROJECT_DIRECTORY}/.evergreen/tox.sh ${PYTHON_BINARY} -m aws-secrets
787-
pwd
788-
ls
786+
bash ${PROJECT_DIRECTORY}/.evergreen/tox.sh ${PYTHON_BINARY} -m aws-secrets -- drivers/test
787+
source ./secrets-export.sh
789788
790789
- command: expansions.update
791790
params:

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ passenv = *
147147
allowlist_externals =
148148
bash
149149
commands =
150-
bash -c 'source ./secrets-export.sh; python -m pytest -v {posargs} ./test/atlas/test_connection.py'
150+
python -m pytest -v {posargs} ./test/atlas/test_connection.py
151151

152152
[testenv:test-mockupdb]
153153
description = run mockupdb tests
@@ -166,7 +166,7 @@ passenv = *
166166
allowlist_externals =
167167
bash
168168
commands =
169-
python {env:DRIVERS_TOOLS}/.evergreen/auth_aws/setup_secrets.py drivers/test
169+
python {env:DRIVERS_TOOLS}/.evergreen/auth_aws/setup_secrets.py {posargs}
170170

171171
[testenv:test-aws-secrets]
172172
deps =

0 commit comments

Comments
 (0)