mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-05 19:03:30 -05:00
Pytest 5 🎉
Also updates the Pytest command in `run_tests.sh` to remove junit, which we stopped using.
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
-r requirements.txt
|
||||
isort==4.3.21
|
||||
pytest==3.10.1 # pyup: <4.0.0
|
||||
pytest==5.3.2
|
||||
pytest-env==0.6.2
|
||||
pytest-cov==2.8.1
|
||||
pytest-mock==1.11.2
|
||||
pytest-xdist==1.27.0 # pyup: <1.28.0
|
||||
pytest-xdist==1.31.0
|
||||
beautifulsoup4==4.8.1
|
||||
freezegun==0.3.12
|
||||
flake8==3.7.9
|
||||
|
||||
@@ -37,5 +37,5 @@ npm test
|
||||
display_result $? 3 "Javascript tests have"
|
||||
|
||||
## Code coverage
|
||||
py.test -n auto --maxfail=10 --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml --strict -p no:warnings
|
||||
py.test -n auto --maxfail=10 --cov=app --cov-report=term-missing tests/ --strict -p no:warnings
|
||||
display_result $? 4 "Code coverage"
|
||||
|
||||
Reference in New Issue
Block a user