Pytest 5 🎉

Also updates the Pytest command in `run_tests.sh` to remove junit,
which we stopped using.
This commit is contained in:
Katie Smith
2020-01-08 09:29:16 +00:00
parent 0ec086cd24
commit 1c23784767
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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"