fixed tests not working

This commit is contained in:
ajurna
2019-02-07 15:57:55 +00:00
parent 5d55eb3f04
commit f6976abf7e

View File

@@ -56,9 +56,10 @@ steps:
displayName: 'Run tests' displayName: 'Run tests'
- script: | - script: |
pip install pytest pip install coverage
pip install pytest-cov coverage run --source='.' manage.py test
pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html coverage xml
coverage html
displayName: 'Test with pytest' displayName: 'Test with pytest'