Skip to content

Commit

Permalink
Nosetests is deprecated, use pytest instead.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Jul 19, 2023
1 parent 77a014b commit eb86d14
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/integration/deployment/integration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Host *
StrictHostKeyChecking no
User root
IdentityFile /mini-lab/files/ssh/id_rsa
PubkeyAcceptedKeyTypes +ssh-rsa
EOF

cd -
Expand All @@ -26,10 +27,10 @@ pip install --root-user-action=ignore --upgrade pip \
flaky \
mock \
metal_python \
nose \
pytest \
testinfra

# if you want to develop tests from within here, comment in the following line:
# bash

nosetests --with-flaky --no-flaky-report --with-xunit --xunit-file=/output/results_$(date "+%Y.%m.%d-%H.%M.%S").xml
pytest --junitxml=/output/results_$(date "+%Y.%m.%d-%H.%M.%S").xml

0 comments on commit eb86d14

Please sign in to comment.