updated tests files

with pytest version 6.0.0, these changes were required.
This commit is contained in:
mb
2020-07-30 11:42:06 +02:00
parent 6cd0fabf9e
commit e431ff2eb6
2 changed files with 3 additions and 2 deletions

View File

@@ -10,3 +10,4 @@
pep8ignore = docs/conf.py ALL pep8ignore = docs/conf.py ALL
addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_config_tugraz --cov-report=term-missing addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_config_tugraz --cov-report=term-missing
testpaths = docs tests invenio_config_tugraz testpaths = docs tests invenio_config_tugraz
filterwarnings = ignore::pytest.PytestDeprecationWarning

View File

@@ -8,7 +8,7 @@
# details. # details.
pydocstyle invenio_config_tugraz tests docs && \ pydocstyle invenio_config_tugraz tests docs && \
isort --check-only --diff && \ isort invenio_config_tugraz tests --check-only --diff && \
check-manifest --ignore ".travis-*" && \ check-manifest --ignore ".travis-*" && \
sphinx-build -qnNW docs docs/_build/html && \ sphinx-build -qnNW docs docs/_build/html && \
python setup.py test pytest