Skip to content

Commit

Permalink
Do not run unittest
Browse files Browse the repository at this point in the history
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
  • Loading branch information
apevec committed Aug 28, 2017
1 parent ca5da6e commit 8b4aa72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python-requests.spec
Expand Up @@ -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}
Expand Down

0 comments on commit 8b4aa72

Please sign in to comment.