14
0

Accepting request 816624 from home:bnavigator:branches:devel:languages:python

- use local source dir for pytest imports (tests are not installed)
  gh#openSUSE/python-rpm-macros#48

OBS-URL: https://build.opensuse.org/request/show/816624
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testfixtures?expand=0&rev=27
This commit is contained in:
Tomáš Chvátal
2020-06-23 16:47:41 +00:00
committed by Git OBS Bridge
parent 20b5a82685
commit d18f942f27
2 changed files with 7 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jun 23 15:51:53 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
- 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 <tchvatal@suse.com> Tue May 19 10:20:08 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -71,6 +71,7 @@ chmod a-x docs/*.txt
%check %check
export DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings export DJANGO_SETTINGS_MODULE=testfixtures.tests.test_django.settings
export PYTHONPATH=$(pwd)
%pytest testfixtures/tests %pytest testfixtures/tests
%files %{python_files} %files %{python_files}