Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/dist-oc8-build-20067-4513/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-httpretty.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/dist-oc8-build-20067-4513/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-httpretty.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.OvSkSM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + /usr/bin/gzip -dc /builddir/build/SOURCES/HTTPretty-70af1f8.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/pr313.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/314.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/python-httpretty-fakesock_getpeercert_noconnect.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Handle-bugs-in-older-urllib3-versions-in-one-of-the-.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0001-Call-reset-from-setUp-and-tearDown-in-addition-to-en.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i -e 's/==.*//g' development.txt test-requirements.txt requirements.txt + sed -i -e 's/requests\[security\]/requests/g' development.txt + sed -i -e '/^coverage/d' development.txt test-requirements.txt + sed -i -e '/^tornado/d' development.txt test-requirements.txt + sed -i -r -e '/^(S|s)phinx/d' development.txt + sed -i -e '/^rednose/d' development.txt + sed -i -e '/^nose-randomly/d' development.txt + sed -i -e '/^flake8/d' development.txt + sed -i -e '/^ipdb/d' development.txt + rm tests/unit/test_passthrough.py + rm tests/functional/test_bypass.py + rm tests/functional/base.py + rm tests/functional/test_requests.py + rm tests/functional/testserver.py + rm -rf /builddir/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 + cp -a . /builddir/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.UVvDnN + umask 022 + cd /builddir/build/BUILD + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 ~/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 ~/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + pushd /builddir/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 + LANG=en_US.UTF-8 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/httpretty copying httpretty/utils.py -> build/lib/httpretty copying httpretty/core.py -> build/lib/httpretty copying httpretty/__init__.py -> build/lib/httpretty copying httpretty/compat.py -> build/lib/httpretty copying httpretty/http.py -> build/lib/httpretty copying httpretty/errors.py -> build/lib/httpretty + sleep 1 + popd + exit 0 ~/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.RwAOpN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch ++ dirname /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 ~/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 ~/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + pushd /builddir/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 + LANG=en_US.UTF-8 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr creating /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/utils.py -> /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/core.py -> /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/compat.py -> /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/http.py -> /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/errors.py -> /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty/core.py to core.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty/compat.py to compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty/http.py to http.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty/errors.py to errors.cpython-36.pyc writing byte-compilation script '/tmp/tmp1v9cr79a.py' /usr/libexec/platform-python /tmp/tmp1v9cr79a.py removing /tmp/tmp1v9cr79a.py running install_egg_info running egg_info creating httpretty.egg-info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing top-level names to httpretty.egg-info/top_level.txt writing manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'httpretty.egg-info/SOURCES.txt' Copying httpretty.egg-info to /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6/site-packages/httpretty-0.8.14-py3.6.egg-info running install_scripts + popd ~/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + /usr/lib/rpm/find-debuginfo.sh -j32 --strict-build-id -m -i --build-id-seed 0.8.14-9.20161011git70af1f8.oc8 --unique-debug-suffix -0.8.14-9.20161011git70af1f8.oc8.noarch --unique-debug-src-base python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.OIEI5O + umask 022 ~/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 ~/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + cd /builddir/build/BUILD + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + pushd /builddir/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8 + LANG=en_US.UTF-8 + /usr/libexec/platform-python setup.py test running test running egg_info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing top-level names to httpretty.egg-info/top_level.txt reading manifest file 'httpretty.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'httpretty.egg-info/SOURCES.txt' running build_ext /usr/lib/python3.6/site-packages/nose/config.py:264: RuntimeWarning: Option 'with-coverage' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python3.6/site-packages/nose/config.py:264: RuntimeWarning: Option 'cover-erase' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python3.6/site-packages/nose/config.py:264: RuntimeWarning: Option 'cover-package' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /usr/lib/python3.6/site-packages/nose/config.py:264: RuntimeWarning: Option 'cover-inclusive' in config file 'setup.cfg' ignored: excluded by runtime environment warn(msg, RuntimeWarning) /builddir/build/BUILD/python3-python-httpretty-0.8.14-9.20161011git70af1f8.oc8/httpretty/http.py:138: DeprecationWarning: invalid escape sequence \s m = re.match(r'(' + methods + ')\s+(.*)\s+HTTP/(1.[0|1])', s, re.I) tests.functional.test_debug.test_httpretty_debugs_socket_recv HTTPretty should debug socket.recv ... ok tests.functional.test_debug.test_httpretty_debugs_socket_recv_into HTTPretty should debug socket.recv_into ... ok tests.functional.test_debug.test_httpretty_debugs_socket_recvfrom HTTPretty should debug socket.recvfrom ... ok tests.functional.test_debug.test_httpretty_debugs_socket_recvfrom_into HTTPretty should debug socket.recvfrom_into ... ok tests.functional.test_debug.test_httpretty_debugs_socket_send HTTPretty should debug socket.send ... ok tests.functional.test_debug.test_httpretty_debugs_socket_sendto HTTPretty should debug socket.sendto ... ok test_decorated (tests.functional.test_decorator.ClassDecorator) ... ok test_decorated2 (tests.functional.test_decorator.ClassDecorator) ... ok test_decorated (tests.functional.test_decorator.ClassDecoratorWithSetUp) ... ok test_decorated2 (tests.functional.test_decorator.ClassDecoratorWithSetUp) ... ok test_decorated (tests.functional.test_decorator.NonUnitTestTest) ... ok tests.functional.test_decorator.test_decor ... ok tests.functional.test_httplib2.test_callback_response HTTPretty should all a callback function to be set as the body with httplib2 ... ok tests.functional.test_httplib2.test_can_inspect_last_request HTTPretty.last_request is a mimetools.Message request from last match ... ok tests.functional.test_httplib2.test_can_inspect_last_request_with_ssl HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok tests.functional.test_httplib2.test_httpretty_ignores_querystrings_from_registered_uri Registering URIs with query string cause them to be ignored ... ok tests.functional.test_httplib2.test_httpretty_provides_easy_access_to_querystrings HTTPretty should provide an easy access to the querystring ... ok tests.functional.test_httplib2.test_httpretty_should_allow_adding_and_overwritting_by_kwargs_u2 HTTPretty should allow adding and overwritting headers by keyword args with httplib2 ... ok tests.functional.test_httplib2.test_httpretty_should_allow_adding_and_overwritting_httplib2 HTTPretty should allow adding and overwritting headers with httplib2 ... ok tests.functional.test_httplib2.test_httpretty_should_allow_forcing_headers_httplib2 HTTPretty should allow forcing headers with httplib2 ... ok tests.functional.test_httplib2.test_httpretty_should_allow_registering_regexes HTTPretty should allow registering regexes with httplib2 ... ok tests.functional.test_httplib2.test_httpretty_should_mock_a_simple_get_with_httplib2_read HTTPretty should mock a simple GET with httplib2.context.http ... ok tests.functional.test_httplib2.test_httpretty_should_mock_headers_httplib2 HTTPretty should mock basic headers with httplib2 ... ok tests.functional.test_httplib2.test_rotating_responses_with_httplib2 HTTPretty should support rotating responses with httplib2 ... ok tests.functional.test_urllib2.test_callback_response HTTPretty should all a callback function to be set as the body with urllib2 ... ok tests.functional.test_urllib2.test_can_inspect_last_request HTTPretty.last_request is a mimetools.Message request from last match ... ok tests.functional.test_urllib2.test_can_inspect_last_request_with_ssl HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok tests.functional.test_urllib2.test_httpretty_ignores_querystrings_from_registered_uri HTTPretty should mock a simple GET with urllib2.read() ... ok tests.functional.test_urllib2.test_httpretty_provides_easy_access_to_querystrings HTTPretty should provide an easy access to the querystring ... ok tests.functional.test_urllib2.test_httpretty_should_allow_adding_and_overwritting_by_kwargs_u2 HTTPretty should allow adding and overwritting headers by keyword args with urllib2 ... ok tests.functional.test_urllib2.test_httpretty_should_allow_adding_and_overwritting_urllib2 HTTPretty should allow adding and overwritting headers with urllib2 ... ok tests.functional.test_urllib2.test_httpretty_should_allow_forcing_headers_urllib2 HTTPretty should allow forcing headers with urllib2 ... ok tests.functional.test_urllib2.test_httpretty_should_allow_registering_regexes HTTPretty should allow registering regexes with urllib2 ... ok tests.functional.test_urllib2.test_httpretty_should_mock_a_simple_get_with_urllib2_read HTTPretty should mock a simple GET with urllib2.read() ... ok tests.functional.test_urllib2.test_httpretty_should_mock_headers_urllib2 HTTPretty should mock basic headers with urllib2 ... ok tests.functional.test_urllib2.test_httpretty_should_support_a_list_of_successive_responses_urllib2 HTTPretty should support adding a list of successive responses with urllib2 ... ok tests.pyopenssl.test_mock.test_httpretty_overrides_when_pyopenssl_installed HTTPretty should remove PyOpenSSLs urllib3 mock if it is installed ... ok tests.unit.test_core.test_request_stubs_internals HTTPrettyRequest is a BaseHTTPRequestHandler that replaces real socket file descriptors with in-memory ones ... ok tests.unit.test_core.test_request_parse_querystring HTTPrettyRequest#parse_querystring should parse unicode data ... ok tests.unit.test_core.test_request_parse_body_when_it_is_application_json HTTPrettyRequest#parse_request_body recognizes the content-type `application/json` and parses it ... ok tests.unit.test_core.test_request_parse_body_when_it_is_text_json HTTPrettyRequest#parse_request_body recognizes the content-type `text/json` and parses it ... ok tests.unit.test_core.test_request_parse_body_when_it_is_urlencoded HTTPrettyRequest#parse_request_body recognizes the content-type `application/x-www-form-urlencoded` and parses it ... ok tests.unit.test_core.test_request_parse_body_when_unrecognized HTTPrettyRequest#parse_request_body returns the value as is if the Content-Type is not recognized ... ok tests.unit.test_core.test_request_string_representation HTTPrettyRequest should have a debug-friendly string representation ... ok tests.unit.test_core.test_fake_ssl_socket_proxies_its_ow_socket FakeSSLSocket is a simpel wrapper around its own socket, which was designed to be a HTTPretty fake socket ... ok tests.unit.test_core.test_fakesock_socket_ssl fakesock.socket#ssl should take a socket instance and return itself ... ok tests.unit.test_core.test_fakesock_socket_close fakesock.socket#close should close the actual socket in case it's not http and _closed is False ... ok tests.unit.test_core.test_fakesock_socket_connect_fallback fakesock.socket#connect should open a real connection if the given port is not a potential http port ... ok tests.unit.test_core.test_fakesock_socket_getpeercert fakesock.socket#getpeercert should return a hardcoded fake certificate ... ok tests.unit.test_core.test_fakesock_socket_makefile fakesock.socket#makefile should set the mode, bufsize and return its mocked file descriptor ... ok tests.unit.test_core.test_fakesock_socket_real_sendall fakesock.socket#real_sendall calls truesock#connect and bails out when not http ... ok tests.unit.test_core.test_fakesock_socket_real_sendall_continue_eagain_when_http fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... ok tests.unit.test_core.test_fakesock_socket_real_sendall_socket_error_when_http fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... ok tests.unit.test_core.test_fakesock_socket_real_sendall_when_http fakesock.socket#real_sendall should connect before sending data ... ok tests.unit.test_core.test_fakesock_socket_sendall_with_body_data_no_entry fakesock.socket#sendall should call real_sendall when not parsing headers and there is no entry ... ok tests.unit.test_core.test_fakesock_socket_sendall_with_body_data_with_chunked_entry fakesock.socket#sendall should call real_sendall when not ... ok tests.unit.test_core.test_fakesock_socket_sendall_with_body_data_with_entry fakesock.socket#sendall should call real_sendall when there is no entry ... ok tests.unit.test_core.test_fakesock_socket_sendall_with_valid_requestline fakesock.socket#sendall should create an entry if it's given a valid request line ... ok tests.unit.test_core.test_fakesock_socket_sendall_with_valid_requestline_2 fakesock.socket#sendall should create an entry if it's given a valid request line ... ok tests.unit.test_http.test_parse_request_line_connect parse_requestline should parse the CONNECT method appropriately ... ok tests.unit.test_httpretty.test_httpretty_should_raise_proper_exception_on_inconsistent_length HTTPretty should raise proper exception on inconsistent Content-Length / registered response body ... ok tests.unit.test_httpretty.test_httpretty_should_raise_on_socket_send_when_uri_registered HTTPretty should raise a RuntimeError when the fakesocket is used in ... ok tests.unit.test_httpretty.test_httpretty_should_not_raise_on_socket_send_when_uri_not_registered HTTPretty should not raise a RuntimeError when the fakesocket is used in ... ok tests.unit.test_httpretty.test_does_not_have_last_request_by_default HTTPretty.last_request is a dummy object by default ... ok tests.unit.test_httpretty.test_status_codes HTTPretty supports N status codes ... ok tests.unit.test_httpretty.test_uri_info_full_url ... ok tests.unit.test_httpretty.test_uri_info_eq_ignores_case Test that URIInfo.__eq__ method ignores case for ... ok tests.unit.test_httpretty.test_global_boolean_enabled ... ok tests.unit.test_httpretty.test_py3kobject_implements_valid__repr__based_on__str__ ... ok tests.unit.test_httpretty.test_Entry_class_normalizes_headers ... ok tests.unit.test_httpretty.test_Entry_class_counts_multibyte_characters_in_bytes ... ok tests.unit.test_httpretty.test_Entry_class_counts_dynamic ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_setblocking ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_fileno ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_getsockopt ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_bind ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_connect_ex ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_listen ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_getpeername ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_getsockname ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_gettimeout ... ok tests.unit.test_httpretty.test_fake_socket_passes_through_shutdown ... ok tests.unit.test_httpretty.test_unix_socket ... ok tests.unit.test_httpretty.test_HTTPrettyRequest_json_body A content-type of application/json should parse a valid json body ... ok tests.unit.test_httpretty.test_HTTPrettyRequest_invalid_json_body A content-type of application/json with an invalid json body should return the content unaltered ... ok tests.unit.test_httpretty.test_HTTPrettyRequest_queryparam A content-type of x-www-form-urlencoded with a valid queryparam body should return parsed content ... ok tests.unit.test_httpretty.test_HTTPrettyRequest_arbitrarypost A non-handled content type request's post body should return the content unaltered ... ok tests.unit.test_httpretty.test_socktype_bad_python_version_regression Some versions of python accidentally internally shadowed the SockType ... ok tests.unit.test_httpretty.test_socktype_good_python_version ... ok tests.unit.test_main.test_has_request httpretty.has_request() correctly detects whether or not a request has been made ... ok tests.unit.test_main.test_last_request httpretty.last_request() should return httpretty.core.last_request ... ok ---------------------------------------------------------------------- Ran 91 tests in 0.250s OK ~/build/BUILD/HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + popd + exit 0 Processing files: python3-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.aI6diP + umask 022 + cd /builddir/build/BUILD + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + DOCDIR=/builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/share/doc/python3-httpretty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/share/doc/python3-httpretty + cp -pr README.md /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/share/doc/python3-httpretty + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.dDa55O + umask 022 + cd /builddir/build/BUILD + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + LICENSEDIR=/builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/share/licenses/python3-httpretty + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/share/licenses/python3-httpretty + cp -pr COPYING /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch/usr/share/licenses/python3-httpretty + exit 0 Provides: python3-httpretty = 0.8.14-9.20161011git70af1f8.oc8 python3.6dist(httpretty) = 0.8.14 python3dist(httpretty) = 0.8.14 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch Wrote: /builddir/build/RPMS/python3-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.W08CeN + umask 022 + cd /builddir/build/BUILD + cd HTTPretty-70af1f8cf925ef50cb5e72212fb0aa46e1451dc3 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-httpretty-0.8.14-9.20161011git70af1f8.oc8.noarch + exit 0 Child return code was: 0