From 704af2fcf0f27b34ac976547c9e058ad0046933e Mon Sep 17 00:00:00 2001 From: UsamaSadiq Date: Tue, 27 Jun 2023 17:14:42 +0500 Subject: [PATCH] fix: run coverage with pytest --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index 2f451600..9970596c 100644 --- a/tox.ini +++ b/tox.ini @@ -10,8 +10,8 @@ deps = drf312: djangorestframework>=3.12,<3.13 drflatest: djangorestframework commands = - python -Wd -m pytest --cov {posargs} - coverage report xml + python -Wd coverage -m pytest {posargs} + coverage report [testenv:quality] setenv =