diff --git a/python-testfixtures.changes b/python-testfixtures.changes index 8b1fbae..0f7ab5e 100644 --- a/python-testfixtures.changes +++ b/python-testfixtures.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Jun 23 15:51:53 UTC 2020 - Benjamin Greiner + +- use local source dir for pytest imports (tests are not installed) + gh#openSUSE/python-rpm-macros#48 + ------------------------------------------------------------------- Tue May 19 10:20:08 UTC 2020 - Tomáš Chvátal diff --git a/python-testfixtures.spec b/python-testfixtures.spec index 7f8829e..53f6f11 100644 --- a/python-testfixtures.spec +++ b/python-testfixtures.spec @@ -71,6 +71,7 @@ chmod a-x docs/*.txt %check export DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings +export PYTHONPATH=$(pwd) %pytest testfixtures/tests %files %{python_files}