Skip to content

Commit

Permalink
Switches unit test runner to pytest
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
dkliban authored and fao89 committed Apr 18, 2022
1 parent 3852214 commit aee91ac
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/template_gitref
@@ -1 +1 @@
2021.08.26-110-g42cd391
2021.08.26-111-gc2ba135
2 changes: 1 addition & 1 deletion .github/workflows/scripts/script.sh
Expand Up @@ -110,7 +110,7 @@ cmd_prefix bash -c "django-admin makemigrations --check --dry-run"

if [[ "$TEST" != "upgrade" ]]; then
# Run unit tests.
cmd_prefix bash -c "PULP_DATABASES__default__USER=postgres django-admin test --noinput /usr/local/lib/python3.8/site-packages/pulp_file/tests/unit/"
cmd_prefix bash -c "PULP_DATABASES__default__USER=postgres pytest -v -r sx --color=yes --pyargs pulp_file.tests.unit"
fi

# Run functional tests
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions unittest_requirements.txt
@@ -1 +1,2 @@
mock
pytest-django

0 comments on commit aee91ac

Please sign in to comment.