Skip to content

Commit

Permalink
Remove unused coverage reporting which seems to break on newer versio…
Browse files Browse the repository at this point in the history
…ns of Python.
  • Loading branch information
rtibbles committed Jul 2, 2024
1 parent ed9012b commit 983d307
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# These are for testing
factory-boy==2.7.0
fake-factory==0.5.7
coverage==6.2
mock==2.0.0
pytest==6.2.5
pytest-cov==3.0.0
pytest-django==4.5.2
more-itertools<=8.10.0
typing
6 changes: 3 additions & 3 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ deps =
cryptography40.0.2: cryptography==40.0.2
commands =
sh -c 'tests/testapp/manage.py makemigrations --check'
python -O -m pytest {posargs:--cov=morango --color=no}
python -O -m pytest {posargs: --color=no}

[testenv:postgres]
deps =
Expand All @@ -38,12 +38,12 @@ setenv =
PYTHONPATH = {toxinidir}:{toxinidir}/tests/testapp
DJANGO_SETTINGS_MODULE = testapp.postgres_settings
commands =
python -O -m pytest {posargs:--cov=morango --color=no}
python -O -m pytest {posargs: --color=no}

[testenv:windows]
deps =
-r{toxinidir}/requirements/test.txt
setenv =
PYTHONPATH = {toxinidir}{:}{toxinidir}/tests/testapp
commands =
python -O -m pytest {posargs:--cov=morango --color=no} -m windows
python -O -m pytest {posargs: --color=no} -m windows

0 comments on commit 983d307

Please sign in to comment.