Skip to content

Commit

Permalink
Getting tests sorted out
Browse files Browse the repository at this point in the history
  • Loading branch information
Maffooch committed Nov 19, 2024
1 parent 571280c commit 47fd685
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 68 deletions.
13 changes: 6 additions & 7 deletions docker/entrypoint-unit-tests-devDocker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,12 @@ echo "Unit Tests"
echo "------------------------------------------------------------"

# Removing parallel and shuffle for now to maintain stability
python3 manage.py test unittests.test_notifications -v 3 --keepdb --no-input
# python3 manage.py test unittests -v 3 --keepdb --no-input --exclude-tag="non-parallel" || {
# exit 1;
# }
# python3 manage.py test unittests -v 3 --keepdb --no-input --tag="non-parallel" || {
# exit 1;
# }
python3 manage.py test unittests -v 3 --keepdb --no-input --exclude-tag="non-parallel" || {
exit 1;
}
python3 manage.py test unittests -v 3 --keepdb --no-input --tag="non-parallel" || {
exit 1;
}

# you can select a single file to "test" unit tests
# python3 manage.py test unittests.tools.test_npm_audit_scan_parser.TestNpmAuditParser --keepdb -v 3
Expand Down
Loading

0 comments on commit 47fd685

Please sign in to comment.