From e431ff2eb6dc136b0bd9514181a71fbec406303f Mon Sep 17 00:00:00 2001 From: mb Date: Thu, 30 Jul 2020 11:42:06 +0200 Subject: [PATCH] updated tests files with pytest version 6.0.0, these changes were required. --- pytest.ini | 1 + run-tests.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index c51a206..3ce1a66 100644 --- a/pytest.ini +++ b/pytest.ini @@ -10,3 +10,4 @@ pep8ignore = docs/conf.py ALL addopts = --pep8 --doctest-glob="*.rst" --doctest-modules --cov=invenio_config_tugraz --cov-report=term-missing testpaths = docs tests invenio_config_tugraz +filterwarnings = ignore::pytest.PytestDeprecationWarning \ No newline at end of file diff --git a/run-tests.sh b/run-tests.sh index 991bc88..a38099e 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,7 +8,7 @@ # details. pydocstyle invenio_config_tugraz tests docs && \ -isort --check-only --diff && \ +isort invenio_config_tugraz tests --check-only --diff && \ check-manifest --ignore ".travis-*" && \ sphinx-build -qnNW docs docs/_build/html && \ -python setup.py test +pytest