mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Merge pull request #557 from ProtixIT/fix-tests-module-not-found
Fix "ImportError: No module named 'tests'" by calling pytest through `python -m`
This commit is contained in:
commit
76f681d064
1 changed files with 1 additions and 1 deletions
2
tox.ini
2
tox.ini
|
|
@ -30,7 +30,7 @@ passenv =
|
|||
DB_*
|
||||
usedevelop = True
|
||||
commands =
|
||||
pytest {posargs}
|
||||
python -m pytest {posargs}
|
||||
|
||||
[testenv:flake8]
|
||||
basepython =
|
||||
|
|
|
|||
Loading…
Reference in a new issue