kopia lustrzana https://github.com/jedie/PyInventory
fix tox
rodzic
a973fac4e6
commit
7820ea28ab
|
@ -4,11 +4,14 @@
|
|||
|
||||
[pytest]
|
||||
DJANGO_SETTINGS_MODULE=inventory_project.settings.tests
|
||||
testpaths = src
|
||||
|
||||
# http://doc.pytest.org/en/latest/customize.html#confval-norecursedirs
|
||||
norecursedirs = .* .git __pycache__ coverage* dist
|
||||
addopts =
|
||||
--import-mode=importlib
|
||||
--ignore-glob=deployment/inventory/*
|
||||
--collect-in-virtualenv
|
||||
|
||||
--reuse-db
|
||||
--nomigrations
|
||||
|
||||
|
|
5
tox.ini
5
tox.ini
|
@ -4,8 +4,7 @@ envlist = py39,py38,py37
|
|||
skip_missing_interpreters = True
|
||||
|
||||
[testenv]
|
||||
whitelist_externals = make
|
||||
whitelist_externals = pytest
|
||||
commands =
|
||||
make install
|
||||
make pytest
|
||||
pytest --pyargs inventory inventory_project -x
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue