From fd40186f8c1208cbef370225d9e730a0e31f288b Mon Sep 17 00:00:00 2001 From: mb Date: Thu, 30 Jul 2020 11:10:22 +0200 Subject: [PATCH] updated test files new releases from pytest required these changes. --- pytest.ini | 1 + run-tests.sh | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pytest.ini b/pytest.ini index 7c61c41..8df2de4 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_theme_tugraz --cov-report=term-missing testpaths = docs tests invenio_theme_tugraz +filterwarnings = ignore::pytest.PytestDeprecationWarning \ No newline at end of file diff --git a/run-tests.sh b/run-tests.sh index 09125cd..9589743 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -8,7 +8,7 @@ # details. pydocstyle invenio_theme_tugraz tests docs && \ -isort --check-only --diff && \ +isort invenio_theme_tugraz tests --check-only --diff && \ check-manifest --ignore ".travis-*" && \ sphinx-build -qnNW docs docs/_build/html && \ -python setup.py test +pytest