From f6976abf7eb85a9827c2e48bc2c361b49671e045 Mon Sep 17 00:00:00 2001 From: ajurna Date: Thu, 7 Feb 2019 15:57:55 +0000 Subject: [PATCH] fixed tests not working --- azure-pipelines.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9189d9f..bce76d5 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -56,9 +56,10 @@ steps: displayName: 'Run tests' - script: | - pip install pytest - pip install pytest-cov - pytest tests --doctest-modules --junitxml=junit/test-results.xml --cov=com --cov-report=xml --cov-report=html + pip install coverage + coverage run --source='.' manage.py test + coverage xml + coverage html displayName: 'Test with pytest'