Accepting request 340282 from home:frispete:python

- actually, _really_ test this module: 
  call py.test directly with appropriate PYTHONPATH

OBS-URL: https://build.opensuse.org/request/show/340282
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-wheel?expand=0&rev=16
This commit is contained in:
Todd R 2015-10-21 14:52:00 +00:00 committed by Git OBS Bridge
parent 7c451d22f2
commit 3d04abf630
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Oct 21 13:50:55 UTC 2015 - hpj@urpla.net
- actually, _really_ test this module:
call py.test directly with appropriate PYTHONPATH
-------------------------------------------------------------------
Tue Sep 29 08:01:25 UTC 2015 - tbechtold@suse.com

View File

@ -30,6 +30,7 @@ BuildRequires: python-setuptools
BuildRequires: python-cov-core >= 1.6
BuildRequires: python-coverage
BuildRequires: python-jsonschema
BuildRequires: python-keyring
BuildRequires: python-pytest
BuildRequires: python-pytest-cov
Recommends: python-ed25519ll
@ -84,7 +85,7 @@ for b in wheel ; do
done
%check
python setup.py test
PYTHONPATH=%{buildroot}%{python_sitelib} py.test
%post
update-alternatives --install %{_bindir}/wheel wheel %{_bindir}/wheel-%{py_ver} 20