mirror of https://github.com/sipwise/repoapi.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
672 B
28 lines
672 B
[pytest]
|
|
DJANGO_SETTINGS_MODULE = repoapi.settings.test
|
|
# -- recommended but optional:
|
|
python_files = tests.py test_*.py *_tests.py
|
|
# build dir is in the default
|
|
# https://docs.pytest.org/en/latest/reference.html#confval-norecursedirs
|
|
norecursedirs = .git
|
|
# make warnings an error if is from repoapi
|
|
filterwarnings =
|
|
error::django.utils.deprecation.RemovedInNextVersionWarning:repoapi[.*]
|
|
#log_cli = true
|
|
#log_cli_level = DEBUG
|
|
pep8ignore = W503
|
|
cache_dir = ${RESULTS}/.__pycache__
|
|
|
|
[pep8]
|
|
ignore = W503
|
|
|
|
[coverage:run]
|
|
data_file = ${RESULTS}/.coverage
|
|
omit =
|
|
manage.py
|
|
repoapi/settings/*
|
|
repoapi/wsgi.py
|
|
venv_*
|
|
relative_files = true
|
|
plugins = django_coverage_plugin
|