mirror of
https://github.com/Hopiu/django-model-utils.git
synced 2026-03-16 20:00:23 +00:00
Run pytest with current directory in the search path
Without this, `pytest-django` cannot find its settings module. https://docs.pytest.org/en/6.2.x/usage.html#calling-pytest-through-python-m-pytest
This commit is contained in:
parent
cced1c7aea
commit
881cf29e21
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