From 1a7bf1a1bd78bd7f4534427be1b0d2c053ed4508 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Dec 21 2016 19:47:40 +0000 Subject: update the note on the test suite We actually could run the tests now, but we need to package python-pytest-httpbin first. --- diff --git a/python-requests.spec b/python-requests.spec index 555a9f5..0f45cc6 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -135,8 +135,10 @@ ln -s ../../chardet %{buildroot}/%{python2_sitelib}/requests/packages/chardet ln -s ../../urllib3 %{buildroot}/%{python2_sitelib}/requests/packages/urllib3 ln -s ../../idna %{buildroot}/%{python2_sitelib}/requests/packages/idna -## The tests succeed if run locally, but fail in koji. -## They require an active network connection to query httpbin.org +## We could now run the test suite if we package python-pytest-httpbin: +## https://pypi.python.org/pypi/pytest-httpbin +## Because upstream ported to that in 2015: +## https://github.com/kennethreitz/requests/issues/2184 %check #%%{__python} test_requests.py