From 8b4aa72e339098aa768f3e555cc473730801eb9f Mon Sep 17 00:00:00 2001 From: Alan Pevec Date: Mon, 28 Aug 2017 19:16:54 +0200 Subject: [PATCH] Do not run unittest connect to "tar pit" 10.255.255.1 is getting refused in CBS buildroot, instead of timeout as expected. This was changed in the later requests so unit tests can be re-enabled after rebase to later requests version [1] [1] https://bugzilla.redhat.com/show_bug.cgi?id=1450608#c6 --- python-requests.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python-requests.spec b/python-requests.spec index dbd3a00..efe0966 100644 --- a/python-requests.spec +++ b/python-requests.spec @@ -153,8 +153,8 @@ ln -s ../../idna %{buildroot}/%{python2_sitelib}/requests/packages/idna %check -%if ! 0%{?_module_build} -# Don't run tests on module-build for now +%if 0 +# Don't run tests # See: https://bugzilla.redhat.com/show_bug.cgi?id=1450608 PYTHONPATH=./ py.test %if 0%{?_with_python3}