Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/1314576-epel-8-x86_64-1584825224.825764/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21zkvsac:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21zkvsac:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3281b165bdce4e76b8f41eb5cc2e63d7', '-D', '/var/lib/mock/1314576-epel-8-x86_64-1584825224.825764/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21zkvsac:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-httpretty-0.9.7-2.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-httpretty.spec'], chrootPath='/var/lib/mock/1314576-epel-8-x86_64-1584825224.825764/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21zkvsac:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21zkvsac:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dcb666663c414644a28bf46b92fc5ac4', '-D', '/var/lib/mock/1314576-epel-8-x86_64-1584825224.825764/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.21zkvsac:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bGJ9wo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf httpretty-0.9.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/httpretty-0.9.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd httpretty-0.9.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/python-httpretty-fakesock_getpeercert_noconnect.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + sed -i 's/^with-randomly = 1$//' setup.cfg + sed -i 's/^rednose = 1$//' setup.cfg + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.n3R0Y4 + umask 022 + cd /builddir/build/BUILD + cd httpretty-0.9.7 + 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/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py creating build creating build/lib creating build/lib/httpretty copying httpretty/errors.py -> build/lib/httpretty copying httpretty/http.py -> 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/version.py -> build/lib/httpretty + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hQqDxO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 + cd httpretty-0.9.7 + 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/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/version.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/compat.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/__init__.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/core.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/utils.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/http.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty copying build/lib/httpretty/errors.py -> /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/version.py to version.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/compat.py to compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/core.py to core.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/http.py to http.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty/errors.py to errors.cpython-36.pyc writing byte-compilation script '/tmp/tmpcoyu9ukm.py' /usr/bin/python3.6 /tmp/tmpcoyu9ukm.py removing /tmp/tmpcoyu9ukm.py running install_egg_info running egg_info writing httpretty.egg-info/PKG-INFO writing dependency_links to httpretty.egg-info/dependency_links.txt writing requirements to httpretty.egg-info/requires.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' Copying httpretty.egg-info to /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/lib/python3.6/site-packages/httpretty-0.9.7-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.9.7-2.el8 --unique-debug-suffix -0.9.7-2.el8.x86_64 --unique-debug-src-base python-httpretty-0.9.7-2.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/httpretty-0.9.7 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.9.7-2.el8.x86_64/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.m3EtAz + umask 022 + cd /builddir/build/BUILD + cd httpretty-0.9.7 + /usr/bin/python3.6 -m nose -v nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$'] nose.plugins.cover: ERROR: Coverage not available: unable to import coverage module When allow_net_connect = False, a request that otherwise ... WARNING:tornado.access:404 GET / (::1) 1.09ms ok When allow_net_connect = False, a request that would have ... ok When allow_net_connect = False, mocked requests still work correctly. ... ok httpretty should bypass a unregistered request by disabling it ... WARNING:tornado.access:404 GET / (::1) 1.41ms ok httpretty should bypass all requests by disabling it ... WARNING:tornado.access:404 GET / (::1) 1.04ms ok httpretty should work even when testing code that also use other TCP-based protocols ... ok HTTPretty should debug socket.recv ... ok HTTPretty should debug socket.recv_into ... ok HTTPretty should debug socket.recvfrom ... ok HTTPretty should debug socket.recvfrom_into ... ok HTTPretty should debug socket.send ... ok 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 HTTPretty should all a callback function to be set as the body with httplib2 ... ok HTTPretty.last_request is a mimetools.Message request from last match ... ok HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok Registering URIs with query string cause them to be ignored ... ok HTTPretty should provide an easy access to the querystring ... ok HTTPretty should allow adding and overwritting headers by keyword args with httplib2 ... ok HTTPretty should allow adding and overwritting headers with httplib2 ... ok HTTPretty should allow forcing headers with httplib2 ... ok HTTPretty should allow registering regexes with httplib2 ... ok HTTPretty should mock a simple GET with httplib2.context.http ... ok HTTPretty should mock basic headers with httplib2 ... ok HTTPretty should support rotating responses with httplib2 ... ok HTTPretty should be able to record calls ... ok HTTPretty should call a callback function more than one requests ... ok HTTPretty should call a callback function and set its return value as the body of the response requests ... ok HTTPretty should call a callback function, use it's return tuple as status code, headers and body requests and respect the content-length header when responding to HEAD ... ok HTTPretty should call a callback function and uses it retur tuple as status code, headers and body requests ... ok HTTPretty.last_request is a mimetools.Message request from last match ... ok HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok HTTPretty should ignore querystrings from the registered uri (requests library) ... ok HTTPretty should provide an easy access to the querystring ... ok HTTPretty should match regexes even if they have a different querystring ... ok HTTPretty should reset protocol/port associations ... ok HTTPretty should allow adding and overwritting headers by keyword args with requests ... ok HTTPretty should allow adding and overwritting headers with requests ... ok HTTPretty should allow forcing headers with requests ... ok HTTPretty should allow registering multiple methods for the same uri ... ok HTTPretty should allow multiple responses when binding multiple methods to the same uri ... ok HTTPretty should allow registering regexes with requests ... ok HTTPretty should allow registering regexes with requests and giva a proper match to the callback ... ok HTTPretty should allow registering regexes with requests and giva a proper match to the callback ... ok HTTPretty should allow registering regexes with streaming responses ... ok HTTPretty should mock a simple GET with requests.get ... ok HTTPretty should mock basic headers with requests ... ok HTTPretty should normalize all url patching ... ok tests.functional.test_requests.test_httpretty_should_respect_matcher_priority ... ok HTTPretty should work with a non-standard port number ... ok HTTPretty should automatically append a slash to given urls ... ok tests.functional.test_requests.test_multiline ... ok tests.functional.test_requests.test_multipart ... ok tests.functional.test_requests.test_octet_stream ... ok HTTPretty should call a callback function *once* and set its return value as the body of the response requests ... ok HTTPretty should support rotating responses with requests ... ok Mock a streaming HTTP response, like those returned by the Twitter streaming ... ok Querystrings should accept unicode characters ... ok HTTPretty should all a callback function to be set as the body with urllib2 ... ok HTTPretty.last_request is a mimetools.Message request from last match ... ok HTTPretty.last_request is recorded even when mocking 'https' (SSL) ... ok HTTPretty should mock a simple GET with urllib2.read() ... ok HTTPretty should provide an easy access to the querystring ... ok HTTPretty should allow adding and overwritting headers by keyword args with urllib2 ... ok HTTPretty should allow adding and overwritting headers with urllib2 ... ok HTTPretty should allow forcing headers with urllib2 ... ok HTTPretty should allow registering regexes with urllib2 ... ok HTTPretty should mock a simple GET with urllib2.read() ... ok HTTPretty should mock basic headers with urllib2 ... ok HTTPretty should support adding a list of successive responses with urllib2 ... ok HTTPretty should remove PyOpenSSLs urllib3 mock if it is installed ... ok HTTPrettyRequest is a BaseHTTPRequestHandler that replaces real socket file descriptors with in-memory ones ... ok HTTPrettyRequest#parse_querystring should parse unicode data ... ok HTTPrettyRequest#parse_request_body recognizes the content-type `application/json` and parses it ... ok HTTPrettyRequest#parse_request_body recognizes the content-type `text/json` and parses it ... ok HTTPrettyRequest#parse_request_body recognizes the content-type `application/x-www-form-urlencoded` and parses it ... ok HTTPrettyRequest#parse_request_body returns the value as is if the Content-Type is not recognized ... ok HTTPrettyRequest should have a debug-friendly string representation ... ok FakeSSLSocket is a simpel wrapper around its own socket, which was designed to be a HTTPretty fake socket ... ok fakesock.socket#ssl should take a socket instance and return itself ... ok URIMatcher response querystring ... ok URIMatcher equality check should check querystring ... ok fakesock.socket#close should close the actual socket in case it's not http and _closed is False ... ok fakesock.socket#connect should open a real connection if the given port is not a potential http port ... ok fakesock.socket#getpeercert should return a hardcoded fake certificate ... ok fakesock.socket#makefile should set the mode, bufsize and return its mocked file descriptor ... ok fakesock.socket#real_sendall calls truesock#connect and bails out when not http ... ok fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... ok fakesock.socket#real_sendall should continue if the socket error was EAGAIN ... ok fakesock.socket#real_sendall sends data and buffers the response in the file descriptor ... ok fakesock.socket#real_sendall should connect before sending data ... ok fakesock.socket#sendall should call real_sendall when not parsing headers and there is no entry ... ok fakesock.socket#sendall should call real_sendall when not ... ok fakesock.socket#sendall should call real_sendall when there is no entry ... ok fakesock.socket#sendall should create an entry if it's given a valid request line ... ok fakesock.socket#sendall should create an entry if it's given a valid request line ... ok parse_requestline should parse the CONNECT method appropriately ... ok HTTPretty should raise proper exception on inconsistent Content-Length / registered response body ... ok HTTPretty should raise a RuntimeError when the fakesocket is used in an invalid usage. ... ok HTTPretty should not raise a RuntimeError when the fakesocket is used in an invalid usage. ... ok HTTPretty.last_request is a dummy object by default ... ok HTTPretty supports N status codes ... ok tests.unit.test_httpretty.test_uri_info_full_url ... ok 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 A content-type of application/json should parse a valid json body ... ok A content-type of application/json with an invalid json body should return the content unaltered ... ok A content-type of x-www-form-urlencoded with a valid queryparam body should return parsed content ... ok A non-handled content type request's post body should return the content unaltered ... ok Some versions of python accidentally internally shadowed the SockType ... ok tests.unit.test_httpretty.test_socktype_good_python_version ... ok HTTPretty should allow registering regexes with requests ... ok HTTPretty should allow registering regexes with requests (ssl version) ... ok httpretty.has_request() correctly detects whether or not a request has been made ... ok httpretty.last_request() should return httpretty.core.last_request ... ok httpretty.latest_requests() should return httpretty.core.latest_requests ... ok ---------------------------------------------------------------------- Ran 136 tests in 5.041s OK 17312 200000 2000 200000 8811 200000 1615 200000 1399 200000 1403 200000 1326 200000 1217 200000 1581 200000 1389 200000 24840 200000 6111 200000 6842 200000 3229 200000 6677 200000 3153 200000 3702 200000 2839 200000 2729 200000 2732 200000 3177 200000 2593 200000 2700 200000 2726 200000 8933 200000 16616 500000 16568 200000 1798 200000 8566 200000 1681 200000 1511 200000 1503 200000 1413 200000 1344 200000 1515 200000 1418 200000 24083 200000 + exit 0 Processing files: python3-httpretty-0.9.7-2.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.hMtZSx + umask 022 + cd /builddir/build/BUILD + cd httpretty-0.9.7 + DOCDIR=/builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/share/doc/python3-httpretty + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/share/doc/python3-httpretty + cp -pr README.rst /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/share/doc/python3-httpretty + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.9dWpcw + umask 022 + cd /builddir/build/BUILD + cd httpretty-0.9.7 + LICENSEDIR=/builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/share/licenses/python3-httpretty + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/share/licenses/python3-httpretty + cp -pr COPYING /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64/usr/share/licenses/python3-httpretty + exit 0 Provides: python3-httpretty = 0.9.7-2.el8 python3.6dist(httpretty) = 0.9.7 python3dist(httpretty) = 0.9.7 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 python3.6dist(six) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 Wrote: /builddir/build/RPMS/python3-httpretty-0.9.7-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QIMwxA + umask 022 + cd /builddir/build/BUILD + cd httpretty-0.9.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-httpretty-0.9.7-2.el8.x86_64 + exit 0 Child return code was: 0