Skip to content

Commit

Permalink
Remove runtests.py (#474)
Browse files Browse the repository at this point in the history
Runtests.py was only hacking around what pytest-django can do for us.
  • Loading branch information
adamchainz authored Dec 21, 2019
1 parent 0452e55 commit fd2063d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 16 deletions.
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ addopts = -p no:doctest
--cov=corsheaders
--cov-report term-missing
--cov-fail-under 100
--ds=tests.settings
django_find_project = false
14 changes: 0 additions & 14 deletions runtests.py

This file was deleted.

1 change: 0 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,6 @@ use_parentheses = True

[tool:multilint]
paths =
runtests.py
setup.py
src
tests
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ envlist =

[testenv]
install_command = pip install --no-deps {opts} {packages}
commands = ./runtests.py {posargs}
commands = python -Wd -m pytest {posargs}

[testenv:py35-django111]
deps = -rrequirements/py35-django111.txt
Expand Down

0 comments on commit fd2063d

Please sign in to comment.