pull/20/head
JensDiemer 2020-11-13 22:32:19 +01:00
rodzic a973fac4e6
commit 7820ea28ab
3 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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