File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,8 @@ echo "Running MONGODB-AWS authentication tests"
17
17
# ensure no secrets are printed in log files
18
18
set +x
19
19
20
+ . .evergreen/utils.sh
21
+
20
22
# load the script
21
23
shopt -s expand_aliases # needed for `urlencode` alias
22
24
[ -s " ${PROJECT_DIRECTORY} /prepare_mongodb_aws.sh" ] && source " ${PROJECT_DIRECTORY} /prepare_mongodb_aws.sh"
@@ -54,13 +56,8 @@ authtest () {
54
56
echo " Running MONGODB-AWS authentication tests with $PYTHON "
55
57
$PYTHON --version
56
58
57
- $VIRTUALENV -p $PYTHON --system-site-packages --never-download venvaws
58
- if [ " Windows_NT" = " $OS " ]; then
59
- . venvaws/Scripts/activate
60
- else
61
- . venvaws/bin/activate
62
- fi
63
- pip install ' .[aws]'
59
+ createvirtualenv $PYTHON venvaws
60
+ python -m pip install ' .[aws]'
64
61
python test/auth_aws/test_auth_aws.py
65
62
deactivate
66
63
rm -rf venvaws
You can’t perform that action at this time.
0 commit comments