From 3d04abf630c4704c3389f4b9af1d769cfa2ca2dc6af6fa13a758243352776bca Mon Sep 17 00:00:00 2001 From: Todd R Date: Wed, 21 Oct 2015 14:52:00 +0000 Subject: [PATCH] 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 --- python-wheel.changes | 6 ++++++ python-wheel.spec | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/python-wheel.changes b/python-wheel.changes index 4b1c09d..d73df4a 100644 --- a/python-wheel.changes +++ b/python-wheel.changes @@ -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 diff --git a/python-wheel.spec b/python-wheel.spec index 650a12f..b3df392 100644 --- a/python-wheel.spec +++ b/python-wheel.spec @@ -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