diff --git a/.coveragerc b/.coveragerc index 1f1b8138..453dadd6 100644 --- a/.coveragerc +++ b/.coveragerc @@ -1,7 +1,8 @@ [run] branch = True + +[report] omit = - *migrations* - *site-packages* -include = - parkings/* + */.tox/* + manage.py + time_check_parking.py diff --git a/parkings/api/__init__.py b/parkings/api/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/parkings/api/auth/__init__.py b/parkings/api/auth/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/parkings/api/monitoring/__init__.py b/parkings/api/monitoring/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/tox.ini b/tox.ini index f880faec..53085bb3 100644 --- a/tox.ini +++ b/tox.ini @@ -10,7 +10,7 @@ passenv = CI setenv = DEBUG=0 SECRET_KEY=topsecret123 -commands = py.test -ra -vvv --strict --cov {posargs} +commands = pytest -ra -vvv --strict --doctest-modules --cov=. {posargs} [testenv:requirements] basepython = python3.5