forked from pool/python-testfixtures
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:
committed by
Git OBS Bridge
parent
20b5a82685
commit
d18f942f27
@@ -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>
|
||||||
|
|
||||||
|
@@ -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}
|
||||||
|
Reference in New Issue
Block a user