Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-flask-restful.spec'], chrootPath='/var/lib/mock/1123353-centos-stream-x86_64-1575410591.110087/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', '--bind=/tmp/mock-resolv.jfgh482y:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfgh482y:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '893f6cf3f6884e90ae6c689a64c893ea', '-D', '/var/lib/mock/1123353-centos-stream-x86_64-1575410591.110087/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfgh482y:/etc/resolv.conf', '--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-flask-restful.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-flask-restful-0.3.7-5.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-flask-restful.spec'], chrootPath='/var/lib/mock/1123353-centos-stream-x86_64-1575410591.110087/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', '--bind=/tmp/mock-resolv.jfgh482y:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfgh482y:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9815585b5225406daaeb2925525241b3', '-D', '/var/lib/mock/1123353-centos-stream-x86_64-1575410591.110087/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.jfgh482y:/etc/resolv.conf', '--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-flask-restful.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.7ia3Gl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flask-restful-0.3.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/0.3.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd flask-restful-0.3.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf docs/_themes/.gitignore + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H4kUwu + umask 022 + cd /builddir/build/BUILD + cd flask-restful-0.3.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/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/flask_restful copying flask_restful/reqparse.py -> build/lib/flask_restful copying flask_restful/inputs.py -> build/lib/flask_restful copying flask_restful/fields.py -> build/lib/flask_restful copying flask_restful/__version__.py -> build/lib/flask_restful copying flask_restful/__init__.py -> build/lib/flask_restful creating build/lib/flask_restful/utils copying flask_restful/utils/crypto.py -> build/lib/flask_restful/utils copying flask_restful/utils/cors.py -> build/lib/flask_restful/utils copying flask_restful/utils/__init__.py -> build/lib/flask_restful/utils creating build/lib/flask_restful/representations copying flask_restful/representations/json.py -> build/lib/flask_restful/representations copying flask_restful/representations/__init__.py -> build/lib/flask_restful/representations running egg_info creating Flask_RESTful.egg-info writing Flask_RESTful.egg-info/PKG-INFO writing dependency_links to Flask_RESTful.egg-info/dependency_links.txt writing requirements to Flask_RESTful.egg-info/requires.txt writing top-level names to Flask_RESTful.egg-info/top_level.txt writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' reading manifest file 'Flask_RESTful.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGES' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XRLVHI + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 + cd flask-restful-0.3.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/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/representations copying build/lib/flask_restful/representations/__init__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/representations copying build/lib/flask_restful/representations/json.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/representations creating /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils copying build/lib/flask_restful/utils/__init__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils copying build/lib/flask_restful/utils/cors.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils copying build/lib/flask_restful/utils/crypto.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils copying build/lib/flask_restful/__init__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful copying build/lib/flask_restful/__version__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful copying build/lib/flask_restful/fields.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful copying build/lib/flask_restful/inputs.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful copying build/lib/flask_restful/reqparse.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/representations/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/representations/json.py to json.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils/cors.py to cors.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/utils/crypto.py to crypto.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/__version__.py to __version__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/fields.py to fields.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/inputs.py to inputs.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/flask_restful/reqparse.py to reqparse.cpython-36.pyc writing byte-compilation script '/tmp/tmpprvak6sm.py' /usr/libexec/platform-python /tmp/tmpprvak6sm.py removing /tmp/tmpprvak6sm.py running install_egg_info running egg_info writing Flask_RESTful.egg-info/PKG-INFO writing dependency_links to Flask_RESTful.egg-info/dependency_links.txt writing requirements to Flask_RESTful.egg-info/requires.txt writing top-level names to Flask_RESTful.egg-info/top_level.txt reading manifest file 'Flask_RESTful.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGES' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' Copying Flask_RESTful.egg-info to /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/lib/python3.6/site-packages/Flask_RESTful-0.3.7-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 0.3.7-5.el8 --unique-debug-suffix -0.3.7-5.el8.x86_64 --unique-debug-src-base python-flask-restful-0.3.7-5.el8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/flask-restful-0.3.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-flask-restful-0.3.7-5.el8.x86_64/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.7QGEc0 + umask 022 + cd /builddir/build/BUILD + cd flask-restful-0.3.7 + /usr/libexec/platform-python setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing Flask_RESTful.egg-info/PKG-INFO writing dependency_links to Flask_RESTful.egg-info/dependency_links.txt writing requirements to Flask_RESTful.egg-info/requires.txt writing top-level names to Flask_RESTful.egg-info/top_level.txt reading manifest file 'Flask_RESTful.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'CHANGES' warning: no previously-included files matching '*.pyc' found under directory 'docs' warning: no previously-included files matching '*.pyo' found under directory 'docs' warning: no previously-included files matching '*.pyc' found under directory 'tests' warning: no previously-included files matching '*.pyo' found under directory 'tests' warning: no previously-included files matching '*.pyc' found under directory 'examples' warning: no previously-included files matching '*.pyo' found under directory 'examples' no previously-included directories found matching 'docs/_build' writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' running build_ext /usr/lib/python3.6/site-packages/pytz/__init__.py:499: ResourceWarning: unclosed file <_io.TextIOWrapper name='/usr/share/zoneinfo/zone.tab' mode='r' encoding='UTF-8'> for l in open(os.path.join(_tzinfo_dir, 'zone.tab')) test_accept_default_any_pick_first (tests.test_accept.AcceptTestCase) ... /builddir/build/BUILD/flask-restful-0.3.7/tests/test_accept.py:80: DeprecationWarning: Please use assertEqual instead. assert_equals(res.status_code, 200) ok test_accept_default_application_json (tests.test_accept.AcceptTestCase) ... ok test_accept_default_override_accept (tests.test_accept.AcceptTestCase) ... ok test_accept_invalid_default_no_representations (tests.test_accept.AcceptTestCase) ... [2019-12-03 22:03:40,155] ERROR in app: Exception on / [GET] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/flask/app.py", line 1612, in full_dispatch_request rv = self.dispatch_request() File "/usr/lib/python3.6/site-packages/flask/app.py", line 1598, in dispatch_request return self.view_functions[rule.endpoint](**req.view_args) File "/builddir/build/BUILD/flask-restful-0.3.7/flask_restful/__init__.py", line 462, in wrapper return self.make_response(data, code, headers=headers) File "/builddir/build/BUILD/flask-restful-0.3.7/flask_restful/__init__.py", line 499, in make_response raise InternalServerError() werkzeug.exceptions.InternalServerError: 500 Internal Server Error: The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application. ok test_accept_no_default_accept_highest_quality_of_three (tests.test_accept.AcceptTestCase) ... ok test_accept_no_default_accept_highest_quality_of_two (tests.test_accept.AcceptTestCase) ... ok test_accept_no_default_custom_repr_match (tests.test_accept.AcceptTestCase) ... ok test_accept_no_default_custom_repr_not_acceptable (tests.test_accept.AcceptTestCase) ... ok test_accept_no_default_match_acceptable (tests.test_accept.AcceptTestCase) ... ok test_accept_no_default_match_q0_not_acceptable (tests.test_accept.AcceptTestCase) q=0 should be considered NotAcceptable, ... ok test_accept_no_default_no_match_not_acceptable (tests.test_accept.AcceptTestCase) ... ok test_accept_no_default_no_representations (tests.test_accept.AcceptTestCase) ... ok test_abort_custom_message (tests.test_api.APITestCase) ... /builddir/build/BUILD/flask-restful-0.3.7/tests/test_api.py:734: DeprecationWarning: Please use assertEqual instead. assert_equals(e.data['message'], "no user") ok test_abort_data (tests.test_api.APITestCase) ... ok test_abort_no_data (tests.test_api.APITestCase) ... ok test_abort_type (tests.test_api.APITestCase) ... ok test_add_resource (tests.test_api.APITestCase) ... ok test_add_resource_endpoint (tests.test_api.APITestCase) ... ok test_add_resource_forward_resource_class_parameters (tests.test_api.APITestCase) ... ok test_add_resource_kwargs (tests.test_api.APITestCase) ... ok test_add_the_same_resource_on_same_endpoint (tests.test_api.APITestCase) ... ok test_add_two_conflicting_resources_on_same_endpoint (tests.test_api.APITestCase) ... ok test_allow_null_presents_data (tests.test_api.APITestCase) ... ok test_api_base (tests.test_api.APITestCase) ... ok test_api_delayed_initialization (tests.test_api.APITestCase) ... ok test_api_prefix (tests.test_api.APITestCase) ... ok test_api_representation (tests.test_api.APITestCase) ... ok test_apply_all_method_decorators_if_not_mapping (tests.test_api.APITestCase) ... ok test_calling_owns_endpoint_before_api_init (tests.test_api.APITestCase) ... ok test_custom_error_message (tests.test_api.APITestCase) ... [2019-12-03 22:03:40,215] ERROR in app: Exception on /foo [GET] ok test_decorator (tests.test_api.APITestCase) ... ok test_decorators_only_applied_at_dispatch (tests.test_api.APITestCase) ... ok test_endpoints (tests.test_api.APITestCase) ... ok test_error_router_falls_back_to_original (tests.test_api.APITestCase) Verify that if an exception occurs in the Flask-RESTful error handler, ... ok test_exception_header_forwarded (tests.test_api.APITestCase) Test that HTTPException's headers are extended properly ... ok test_exception_header_forwarding_doesnt_duplicate_headers (tests.test_api.APITestCase) Test that HTTPException's headers do not add a duplicate ... ok test_fr_405 (tests.test_api.APITestCase) ... ok test_handle_api_error (tests.test_api.APITestCase) ... ok test_handle_auth (tests.test_api.APITestCase) ... ok test_handle_error (tests.test_api.APITestCase) ... ok test_handle_error_401_no_challenge_by_default (tests.test_api.APITestCase) ... ok test_handle_error_401_sends_challege_configured_realm (tests.test_api.APITestCase) ... ok test_handle_error_401_sends_challege_default_realm (tests.test_api.APITestCase) ... ok test_handle_error_does_not_swallow_custom_exceptions (tests.test_api.APITestCase) ... ok test_handle_error_does_not_swallow_exceptions (tests.test_api.APITestCase) ... ok test_handle_error_signal (tests.test_api.APITestCase) ... ok test_handle_error_with_code (tests.test_api.APITestCase) ... [2019-12-03 22:03:40,246] ERROR in app: Exception on /foo [GET] ok test_handle_non_api_error (tests.test_api.APITestCase) ... ok test_handle_server_error (tests.test_api.APITestCase) ... [2019-12-03 22:03:40,251] ERROR in app: Exception on /foo [GET] ok test_http_code (tests.test_api.APITestCase) ... ok test_json_float_marshalled (tests.test_api.APITestCase) ... ok test_json_with_no_settings (tests.test_api.APITestCase) ... ok test_marshal (tests.test_api.APITestCase) ... ok test_marshal_decorator (tests.test_api.APITestCase) ... ok test_marshal_decorator_tuple (tests.test_api.APITestCase) ... ok test_marshal_decorator_tuple_with_envelope (tests.test_api.APITestCase) ... ok test_marshal_decorator_with_envelope (tests.test_api.APITestCase) ... ok test_marshal_field (tests.test_api.APITestCase) ... ok test_marshal_field_decorator (tests.test_api.APITestCase) ... ok test_marshal_field_decorator_tuple (tests.test_api.APITestCase) ... ok test_marshal_list (tests.test_api.APITestCase) ... ok test_marshal_list_of_lists (tests.test_api.APITestCase) ... ok test_marshal_list_of_nesteds (tests.test_api.APITestCase) ... ok test_marshal_nested (tests.test_api.APITestCase) ... ok test_marshal_nested_dict (tests.test_api.APITestCase) ... ok test_marshal_nested_property (tests.test_api.APITestCase) ... ok test_marshal_nested_with_non_null (tests.test_api.APITestCase) ... ok test_marshal_nested_with_null (tests.test_api.APITestCase) ... ok test_marshal_tuple (tests.test_api.APITestCase) ... ok test_marshal_tuple_with_envelope (tests.test_api.APITestCase) ... ok test_marshal_with_envelope (tests.test_api.APITestCase) ... ok test_media_types (tests.test_api.APITestCase) ... ok test_media_types_method (tests.test_api.APITestCase) ... ok test_media_types_q (tests.test_api.APITestCase) ... ok test_non_api_error_404_catchall (tests.test_api.APITestCase) ... ok test_output_func (tests.test_api.APITestCase) ... ok test_output_unpack (tests.test_api.APITestCase) ... ok test_read_json_settings_from_config (tests.test_api.APITestCase) ... ok test_redirect (tests.test_api.APITestCase) ... ok test_resource (tests.test_api.APITestCase) ... ok test_resource_decorator (tests.test_api.APITestCase) ... ok test_resource_error (tests.test_api.APITestCase) ... ok test_resource_head (tests.test_api.APITestCase) ... ok test_resource_resp (tests.test_api.APITestCase) ... ok test_resource_text_plain (tests.test_api.APITestCase) ... ok test_selectively_apply_method_decorators (tests.test_api.APITestCase) ... ok test_unauthorized (tests.test_api.APITestCase) ... ok test_unauthorized_custom_realm (tests.test_api.APITestCase) ... ok test_unauthorized_no_challenge_by_default (tests.test_api.APITestCase) ... ok test_url_for (tests.test_api.APITestCase) ... ok test_url_for_with_blueprint (tests.test_api.APITestCase) Verify that url_for works when an Api object is mounted on a ... ok test_use_custom_jsonencoder (tests.test_api.APITestCase) ... ok test_will_prettyprint_json_in_debug_mode (tests.test_api.APITestCase) ... ok tests.test_api.test_unpack(('hey', 200, {}), ('hey', 200, {})) ... ok tests.test_api.test_unpack((('hey',), 200, {}), (('hey',), 200, {})) ... ok tests.test_api.test_unpack(('hey', 201, {}), ('hey', 201, {})) ... ok tests.test_api.test_unpack(('hey', 201, 'foo'), ('hey', 201, 'foo')) ... ok tests.test_api.test_unpack((['hey', 201], 200, {}), (['hey', 201], 200, {})) ... ok test_add_resource_endpoint (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_add_resource_endpoint_after_registration (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_api_base (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... /builddir/build/BUILD/flask-restful-0.3.7/tests/test_api_with_blueprint.py:36: DeprecationWarning: Please use assertEqual instead. self.assertEquals(api.urls, {}) ok test_api_delayed_initialization (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_non_blueprint_non_rest_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_non_blueprint_rest_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_registration_prefix_overrides_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_url_part_order_aeb (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_url_with_api_and_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_url_with_api_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_url_with_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_url_with_registration_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase) ... ok test_access_control_allow_methods (tests.test_cors.CORSTestCase) ... /builddir/build/BUILD/flask-restful-0.3.7/tests/test_cors.py:65: DeprecationWarning: Please use assertEqual instead. assert_equals(res.status_code, 200) ok test_access_control_expose_headers (tests.test_cors.CORSTestCase) ... ok test_crossdomain (tests.test_cors.CORSTestCase) ... ok test_no_crossdomain (tests.test_cors.CORSTestCase) ... ok test_advanced_fixed (tests.test_fields.FieldsTestCase) ... ok test_arbitrary (tests.test_fields.FieldsTestCase) ... /builddir/build/BUILD/flask-restful-0.3.7/tests/test_fields.py:320: DeprecationWarning: Please use assertEqual instead. self.assertEquals(self.PI_STR, field.output("hey", {'hey': self.PI})) ok test_attribute (tests.test_fields.FieldsTestCase) ... ok test_basic_dictionary (tests.test_fields.FieldsTestCase) ... ok test_basic_field (tests.test_fields.FieldsTestCase) ... ok test_date_field_invalid (tests.test_fields.FieldsTestCase) ... ok test_decimal_trash (tests.test_fields.FieldsTestCase) ... ok test_fixed (tests.test_fields.FieldsTestCase) ... ok test_fixed_with_attribute (tests.test_fields.FieldsTestCase) ... ok test_float (tests.test_fields.FieldsTestCase) ... ok test_float_decode_error (tests.test_fields.FieldsTestCase) ... ok test_formatted_string (tests.test_fields.FieldsTestCase) ... ok test_formatted_string_invalid_obj (tests.test_fields.FieldsTestCase) ... ok test_formatting_field (tests.test_fields.FieldsTestCase) ... ok test_formatting_field_dict (tests.test_fields.FieldsTestCase) ... ok test_formatting_field_none (tests.test_fields.FieldsTestCase) ... ok test_formatting_field_tuple (tests.test_fields.FieldsTestCase) ... ok test_get_value (tests.test_fields.FieldsTestCase) ... ok test_get_value_no_value (tests.test_fields.FieldsTestCase) ... ok test_get_value_obj (tests.test_fields.FieldsTestCase) ... ok test_indexable_object (tests.test_fields.FieldsTestCase) ... ok test_infinite_fixed (tests.test_fields.FieldsTestCase) ... ok test_int (tests.test_fields.FieldsTestCase) ... ok test_int_decode_error (tests.test_fields.FieldsTestCase) ... ok test_int_default (tests.test_fields.FieldsTestCase) ... ok test_iso8601_date_field_with_offset (tests.test_fields.FieldsTestCase) ... ok test_iso8601_date_field_without_offset (tests.test_fields.FieldsTestCase) ... ok test_list (tests.test_fields.FieldsTestCase) ... ok test_list_from_dict_with_attribute (tests.test_fields.FieldsTestCase) ... ok test_list_from_object (tests.test_fields.FieldsTestCase) ... ok test_list_from_set (tests.test_fields.FieldsTestCase) ... ok test_list_of_nested (tests.test_fields.FieldsTestCase) ... ok test_list_of_raw (tests.test_fields.FieldsTestCase) ... ok test_list_with_attribute (tests.test_fields.FieldsTestCase) ... ok test_list_with_scoped_attribute_on_dict_or_obj (tests.test_fields.FieldsTestCase) ... ok test_nested_raw_field (tests.test_fields.FieldsTestCase) ... ok test_nested_with_default (tests.test_fields.FieldsTestCase) ... ok test_no_attribute (tests.test_fields.FieldsTestCase) ... ok test_no_int (tests.test_fields.FieldsTestCase) ... ok test_null_list (tests.test_fields.FieldsTestCase) ... ok test_raw_field (tests.test_fields.FieldsTestCase) ... ok test_rfc822_date_field_with_offset (tests.test_fields.FieldsTestCase) ... ok test_rfc822_date_field_without_offset (tests.test_fields.FieldsTestCase) ... ok test_string (tests.test_fields.FieldsTestCase) ... ok test_string_no_value (tests.test_fields.FieldsTestCase) ... ok test_string_none (tests.test_fields.FieldsTestCase) ... ok test_string_with_attribute (tests.test_fields.FieldsTestCase) ... ok test_string_with_lambda (tests.test_fields.FieldsTestCase) ... ok test_string_with_partial (tests.test_fields.FieldsTestCase) ... ok test_to_dict (tests.test_fields.FieldsTestCase) ... ok test_to_dict_custom_marshal (tests.test_fields.FieldsTestCase) ... ok test_to_dict_obj (tests.test_fields.FieldsTestCase) ... ok test_unsupported_datetime_format (tests.test_fields.FieldsTestCase) ... ok test_url (tests.test_fields.FieldsTestCase) ... ok test_url_absolute (tests.test_fields.FieldsTestCase) ... ok test_url_absolute_scheme (tests.test_fields.FieldsTestCase) Url.scheme should override current_request.scheme ... ok test_url_invalid_object (tests.test_fields.FieldsTestCase) ... ok test_url_superclass_kwargs (tests.test_fields.FieldsTestCase) ... ok test_url_with_blueprint (tests.test_fields.FieldsTestCase) ... ok test_url_with_blueprint_absolute (tests.test_fields.FieldsTestCase) ... ok test_url_with_blueprint_absolute_scheme (tests.test_fields.FieldsTestCase) ... ok test_url_with_blueprint_invalid_object (tests.test_fields.FieldsTestCase) ... ok test_url_without_endpoint (tests.test_fields.FieldsTestCase) ... ok test_url_without_endpoint_absolute (tests.test_fields.FieldsTestCase) ... ok test_url_without_endpoint_absolute_scheme (tests.test_fields.FieldsTestCase) ... ok test_url_without_endpoint_invalid_object (tests.test_fields.FieldsTestCase) ... ok test_zero_fixed (tests.test_fields.FieldsTestCase) ... ok tests.test_fields.test_float(-3.13, , '-3.13') ... ok tests.test_fields.test_float(-3.13, , '-3.13') ... ok tests.test_fields.test_float(3.0, , 3) ... ok tests.test_fields.test_boolean(True, , True) ... ok tests.test_fields.test_boolean(False, , False) ... ok tests.test_fields.test_boolean(False, , {}) ... ok tests.test_fields.test_boolean(True, , 'false') ... ok tests.test_fields.test_boolean(True, , '0') ... ok tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 00:00:00 -0000', 'Sat, 01 Jan 2011 00:00:00 -0000') ... /usr/lib/python3.6/site-packages/nose/case.py:197: DeprecationWarning: Please use assertEqual instead. self.test(*self.arg) ok tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 23:59:59 -0000', 'Sat, 01 Jan 2011 23:59:59 -0000') ... ok tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 23:59:59 -0000', 'Sat, 01 Jan 2011 23:59:59 -0000') ... ok tests.test_fields.test_rfc822_datetime_formatters('Sat, 01 Jan 2011 22:59:59 -0000', 'Sat, 01 Jan 2011 22:59:59 -0000') ... ok tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T00:00:00', '2011-01-01T00:00:00') ... ok tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59', '2011-01-01T23:59:59') ... ok tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59.001000', '2011-01-01T23:59:59.001000') ... ok tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59+00:00', '2011-01-01T23:59:59+00:00') ... ok tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59.001000+00:00', '2011-01-01T23:59:59.001000+00:00') ... ok tests.test_fields.test_iso8601_datetime_formatters('2011-01-01T23:59:59+01:00', '2011-01-01T23:59:59+01:00') ... ok test_bad_boolean (tests.test_inputs.TypesTestCase) ... ok test_boolean (tests.test_inputs.TypesTestCase) ... ok test_boolean_false (tests.test_inputs.TypesTestCase) ... ok test_boolean_is_false_for_0 (tests.test_inputs.TypesTestCase) ... ok test_boolean_is_true_for_1 (tests.test_inputs.TypesTestCase) ... ok test_boolean_true (tests.test_inputs.TypesTestCase) ... ok test_boolean_upper_case (tests.test_inputs.TypesTestCase) ... ok test_boolean_with_python_bool (tests.test_inputs.TypesTestCase) Input that is already a native python `bool` should be passed through ... ok test_date_input (tests.test_inputs.TypesTestCase) ... ok test_date_input_error (tests.test_inputs.TypesTestCase) ... ok test_date_later_than_1900 (tests.test_inputs.TypesTestCase) ... ok test_int_range_good (tests.test_inputs.TypesTestCase) ... ok test_int_range_high (tests.test_inputs.TypesTestCase) ... ok test_int_range_inclusive (tests.test_inputs.TypesTestCase) ... ok test_int_range_low (tests.test_inputs.TypesTestCase) ... ok test_natual_negative (tests.test_inputs.TypesTestCase) ... ok test_natual_string (tests.test_inputs.TypesTestCase) ... ok test_natural (tests.test_inputs.TypesTestCase) ... ok test_positive (tests.test_inputs.TypesTestCase) ... ok test_positive_negative_input (tests.test_inputs.TypesTestCase) ... ok test_positive_zero (tests.test_inputs.TypesTestCase) ... ok tests.test_inputs.test_reverse_rfc822_datetime(datetime.datetime(2011, 1, 1, 0, 0, tzinfo=), datetime.datetime(2011, 1, 1, 0, 0, tzinfo=)) ... ok tests.test_inputs.test_reverse_rfc822_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=), datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=)) ... ok tests.test_inputs.test_reverse_rfc822_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=), datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=)) ... ok tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 0, 0, tzinfo=+0:00:00 UTC), datetime.datetime(2011, 1, 1, 0, 0, tzinfo=)) ... ok tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=+0:00:00 UTC), datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=)) ... ok tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, 1000, tzinfo=+0:00:00 UTC), datetime.datetime(2011, 1, 1, 23, 59, 59, 1000, tzinfo=)) ... ok tests.test_inputs.test_reverse_iso8601_datetime(datetime.datetime(2011, 1, 1, 23, 59, 59, tzinfo=+2:00:00 UTC), datetime.datetime(2011, 1, 1, 21, 59, 59, tzinfo=)) ... ok tests.test_inputs.test_urls('http://www.djangoproject.com/', 'http://www.djangoproject.com/') ... ok tests.test_inputs.test_urls('http://localhost/', 'http://localhost/') ... ok tests.test_inputs.test_urls('http://example.com/', 'http://example.com/') ... ok tests.test_inputs.test_urls('http://www.example.com/', 'http://www.example.com/') ... ok tests.test_inputs.test_urls('http://www.example.com:8000/test', 'http://www.example.com:8000/test') ... ok tests.test_inputs.test_urls('http://valid-with-hyphens.com/', 'http://valid-with-hyphens.com/') ... ok tests.test_inputs.test_urls('http://subdomain.example.com/', 'http://subdomain.example.com/') ... ok tests.test_inputs.test_urls('http://200.8.9.10/', 'http://200.8.9.10/') ... ok tests.test_inputs.test_urls('http://200.8.9.10:8000/test', 'http://200.8.9.10:8000/test') ... ok tests.test_inputs.test_urls('http://valid-----hyphens.com/', 'http://valid-----hyphens.com/') ... ok tests.test_inputs.test_urls('http://example.com?something=value', 'http://example.com?something=value') ... ok tests.test_inputs.test_urls('http://example.com/index.php?something=value&another=value2', 'http://example.com/index.php?something=value&another=value2') ... ok tests.test_inputs.test_urls('http://foo:bar@example.com', 'http://foo:bar@example.com') ... ok tests.test_inputs.test_urls('http://foo:@example.com', 'http://foo:@example.com') ... ok tests.test_inputs.test_urls('http://foo:@2001:db8:85a3::8a2e:370:7334', 'http://foo:@2001:db8:85a3::8a2e:370:7334') ... ok tests.test_inputs.test_urls('http://foo2:qd1%r@example.com', 'http://foo2:qd1%r@example.com') ... ok tests.test_inputs.test_bad_urls('foo',) ... ok tests.test_inputs.test_bad_urls('http://',) ... ok tests.test_inputs.test_bad_urls('http://example',) ... ok tests.test_inputs.test_bad_urls('http://example.',) ... ok tests.test_inputs.test_bad_urls('http://.com',) ... ok tests.test_inputs.test_bad_urls('http://invalid-.com',) ... ok tests.test_inputs.test_bad_urls('http://-invalid.com',) ... ok tests.test_inputs.test_bad_urls('http://inv-.alid-.com',) ... ok tests.test_inputs.test_bad_urls('http://inv-.-alid.com',) ... ok tests.test_inputs.test_bad_urls('foo bar baz',) ... ok tests.test_inputs.test_bad_urls('foo ✓',) ... ok tests.test_inputs.test_bad_urls('http://@foo:bar@example.com',) ... ok tests.test_inputs.test_bad_urls('http://:bar@example.com',) ... ok tests.test_inputs.test_bad_urls('http://bar:bar:bar@example.com',) ... ok tests.test_inputs.test_bad_url_error_message('google.com',) ... ok tests.test_inputs.test_bad_url_error_message('domain.google.com',) ... ok tests.test_inputs.test_bad_url_error_message('kevin:pass@google.com/path?query',) ... ok tests.test_inputs.test_bad_url_error_message('google.com/path?✓',) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x7f67b4fec7b8>) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x7f67b4f28510>) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x7f67b4f28b70>) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x7f67b4f28510>) ... ok tests.test_inputs.test_regex_good_input('123', '123') ... ok tests.test_inputs.test_regex_good_input('1234567890', '1234567890') ... ok tests.test_inputs.test_regex_good_input('00000', '00000') ... ok tests.test_inputs.test_regex_bad_pattern Regex error raised immediately when regex input parser is created. ... ok tests.test_inputs.test_regex_flags_good_input('abcd', 'abcd') ... ok tests.test_inputs.test_regex_flags_good_input('ABCabc', 'ABCabc') ... ok tests.test_inputs.test_regex_flags_good_input('ABC', 'ABC') ... ok tests.test_inputs.test_regex_flags_bad_input(, . at 0x7f67b4f28510>) ... ok tests.test_inputs.test_regex_flags_bad_input(, . at 0x7f67b4f28b70>) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2014, 3, 5, 16, 35, 6, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2014, 3, 5, 16, 35, 6, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2013, 1, 3, 12, 30, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2013, 1, 3, 12, 30, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 15, 0, tzinfo=), datetime.datetime(2013, 1, 31, 15, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 15, 0, tzinfo=), datetime.datetime(2013, 1, 31, 15, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 22, 0, tzinfo=), datetime.datetime(2013, 1, 15, 22, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 22, 0, tzinfo=), datetime.datetime(2013, 1, 15, 22, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 0, 0, tzinfo=), datetime.datetime(2013, 1, 4, 0, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 0, 0, tzinfo=), datetime.datetime(2013, 1, 4, 0, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 2, 1, 12, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 2, 1, 12, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 0, 0, tzinfo=), datetime.datetime(2013, 6, 30, 0, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 0, 0, tzinfo=), datetime.datetime(2013, 6, 30, 0, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 2, 17, 19, 0, tzinfo=), datetime.datetime(2013, 2, 28, 22, 0, tzinfo=)), (datetime.datetime(2013, 2, 17, 19, 0, tzinfo=), datetime.datetime(2013, 2, 28, 22, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 10, 30, 45, tzinfo=), datetime.datetime(2013, 1, 1, 10, 30, 46, tzinfo=)), (datetime.datetime(2013, 1, 1, 10, 30, 45, tzinfo=), datetime.datetime(2013, 1, 1, 10, 30, 46, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 30, 45, tzinfo=), datetime.datetime(2013, 1, 1, 12, 30, 46, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 8, 30, tzinfo=), datetime.datetime(2013, 1, 1, 8, 31, tzinfo=)), (datetime.datetime(2013, 1, 1, 8, 30, tzinfo=), datetime.datetime(2013, 1, 1, 8, 31, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 30, tzinfo=), datetime.datetime(2013, 1, 1, 12, 31, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 19, 0, tzinfo=), datetime.datetime(2013, 1, 1, 20, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 19, 0, tzinfo=), datetime.datetime(2013, 1, 1, 20, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 1, 1, 13, 0, tzinfo=))) ... ok tests.test_inputs.test_isointerval((datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 1, 1, 12, 30, tzinfo=)), (datetime.datetime(2013, 1, 1, 12, 0, tzinfo=), datetime.datetime(2013, 1, 1, 12, 30, tzinfo=))) ... ok tests.test_inputs.test_invalid_isointerval_error ... ok tests.test_inputs.test_bad_isointervals(, , '2013-01T14:') ... ok tests.test_inputs.test_bad_isointervals(, , '') ... ok tests.test_inputs.test_bad_isointervals(, , 'asdf') ... ok tests.test_inputs.test_bad_isointervals(, , '01/01/2013') ... ok test_action (tests.test_reqparse.ReqParseTestCase) ... /builddir/build/BUILD/flask-restful-0.3.7/tests/test_reqparse.py:127: DeprecationWarning: Please use assertEqual instead. self.assertEquals(arg.action, u"append") ok test_action_default (tests.test_reqparse.ReqParseTestCase) ... ok test_action_filter (tests.test_reqparse.ReqParseTestCase) ... ok test_argument_repr (tests.test_reqparse.ReqParseTestCase) ... ok test_argument_str (tests.test_reqparse.ReqParseTestCase) ... ok test_both_json_and_values_location (tests.test_reqparse.ReqParseTestCase) ... /usr/lib/python3.6/site-packages/werkzeug/local.py:347: DeprecationWarning: json is deprecated. Use get_json() instead. return getattr(self._get_current_object(), name) ok test_chaining (tests.test_reqparse.ReqParseTestCase) ... ok test_choices (tests.test_reqparse.ReqParseTestCase) ... ok test_choices_default (tests.test_reqparse.ReqParseTestCase) ... ok test_convert_default_type_with_null_input (tests.test_reqparse.ReqParseTestCase) ... ok test_convert_with_null_input_when_not_nullable (tests.test_reqparse.ReqParseTestCase) ... ok test_default (tests.test_reqparse.ReqParseTestCase) ... ok test_default_default (tests.test_reqparse.ReqParseTestCase) ... ok test_default_dest (tests.test_reqparse.ReqParseTestCase) ... ok test_default_help (tests.test_reqparse.ReqParseTestCase) ... ok test_default_operators (tests.test_reqparse.ReqParseTestCase) ... ok test_default_type (tests.test_reqparse.ReqParseTestCase) ... ok test_dest (tests.test_reqparse.ReqParseTestCase) ... ok test_filestorage_custom_type (tests.test_reqparse.ReqParseTestCase) ... ok test_get_json_location (tests.test_reqparse.ReqParseTestCase) ... ok test_help_no_error_msg (tests.test_reqparse.ReqParseTestCase) ... ok test_help_with_error_msg (tests.test_reqparse.ReqParseTestCase) ... ok test_help_with_unicode_error_msg (tests.test_reqparse.ReqParseTestCase) ... ok test_ignore (tests.test_reqparse.ReqParseTestCase) ... ok test_ignore_default (tests.test_reqparse.ReqParseTestCase) ... ok test_int_choice_types (tests.test_reqparse.ReqParseTestCase) ... ok test_int_range_choice_types (tests.test_reqparse.ReqParseTestCase) ... ok test_json_location (tests.test_reqparse.ReqParseTestCase) ... ok test_list_argument (tests.test_reqparse.ReqParseTestCase) ... ok test_list_argument_dict (tests.test_reqparse.ReqParseTestCase) ... ok test_location_get_json (tests.test_reqparse.ReqParseTestCase) ... ok test_location_header (tests.test_reqparse.ReqParseTestCase) ... ok test_location_header_list (tests.test_reqparse.ReqParseTestCase) ... ok test_location_json (tests.test_reqparse.ReqParseTestCase) ... ok test_location_url (tests.test_reqparse.ReqParseTestCase) ... ok test_location_url_list (tests.test_reqparse.ReqParseTestCase) ... ok test_name (tests.test_reqparse.ReqParseTestCase) ... ok test_namespace_configurability (tests.test_reqparse.ReqParseTestCase) ... ok test_namespace_existence (tests.test_reqparse.ReqParseTestCase) ... ok test_namespace_missing (tests.test_reqparse.ReqParseTestCase) ... ok test_no_help (tests.test_reqparse.ReqParseTestCase) ... ok test_none_argument (tests.test_reqparse.ReqParseTestCase) ... ok test_not_json_location_and_content_type_json (tests.test_reqparse.ReqParseTestCase) ... ok test_operator (tests.test_reqparse.ReqParseTestCase) ... ok test_option_case_sensitive (tests.test_reqparse.ReqParseTestCase) ... ok test_parse (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_append (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_append_default (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_append_ignore (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_append_many (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_append_many_location_json (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_append_single (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_callable_default (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_choices (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_choices_correct (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_choices_insensitive (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_choices_sensitive (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_default (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_default_append (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_dest (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_eq (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_eq_other (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_error_bundling (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_error_bundling_w_parser_arg (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_foo_operators_four_hunderd (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_foo_operators_ignore (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_gte (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_gte_lte_eq (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_ignore (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_lte (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_lte_gte_append (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_lte_gte_missing (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_lte_gte_mock (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_none (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_required (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_store_missing (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_unicode (tests.test_reqparse.ReqParseTestCase) ... ok test_parse_unicode_app (tests.test_reqparse.ReqParseTestCase) ... ok test_passing_arguments_object (tests.test_reqparse.ReqParseTestCase) ... ok test_request_parse_copy_including_settings (tests.test_reqparse.ReqParseTestCase) ... ok test_request_parser_copy (tests.test_reqparse.ReqParseTestCase) ... ok test_request_parser_remove_argument (tests.test_reqparse.ReqParseTestCase) ... ok test_request_parser_replace_argument (tests.test_reqparse.ReqParseTestCase) ... ok test_required (tests.test_reqparse.ReqParseTestCase) ... ok test_required_default (tests.test_reqparse.ReqParseTestCase) ... ok test_source (tests.test_reqparse.ReqParseTestCase) ... ok test_source_bad_location (tests.test_reqparse.ReqParseTestCase) ... ok test_source_default_location (tests.test_reqparse.ReqParseTestCase) ... ok test_strict_parsing_off (tests.test_reqparse.ReqParseTestCase) ... ok test_strict_parsing_off_partial_hit (tests.test_reqparse.ReqParseTestCase) ... ok test_strict_parsing_on (tests.test_reqparse.ReqParseTestCase) ... ok test_strict_parsing_on_partial_hit (tests.test_reqparse.ReqParseTestCase) ... ok test_trim_argument (tests.test_reqparse.ReqParseTestCase) ... ok test_trim_request_parser (tests.test_reqparse.ReqParseTestCase) ... ok test_trim_request_parser_json (tests.test_reqparse.ReqParseTestCase) ... ok test_trim_request_parser_override_by_argument (tests.test_reqparse.ReqParseTestCase) ... ok test_type (tests.test_reqparse.ReqParseTestCase) ... ok test_type_callable (tests.test_reqparse.ReqParseTestCase) ... ok test_type_callable_none (tests.test_reqparse.ReqParseTestCase) ... ok test_type_decimal (tests.test_reqparse.ReqParseTestCase) ... ok test_type_filestorage (tests.test_reqparse.ReqParseTestCase) ... ok test_viewargs (tests.test_reqparse.ReqParseTestCase) ... ok ---------------------------------------------------------------------- Ran 400 tests in 0.612s OK + exit 0 Processing files: python3-flask-restful-0.3.7-5.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XC7Emm + umask 022 + cd /builddir/build/BUILD + cd flask-restful-0.3.7 + DOCDIR=/builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/doc/python3-flask-restful + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/doc/python3-flask-restful + cp -pr AUTHORS.md /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/doc/python3-flask-restful + cp -pr README.md /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/doc/python3-flask-restful + cp -pr examples/ /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/doc/python3-flask-restful + cp -pr docs/ /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/doc/python3-flask-restful + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.36faCI + umask 022 + cd /builddir/build/BUILD + cd flask-restful-0.3.7 + LICENSEDIR=/builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/licenses/python3-flask-restful + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/licenses/python3-flask-restful + cp -pr LICENSE /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64/usr/share/licenses/python3-flask-restful + exit 0 Provides: python3-flask-restful = 0.3.7-5.el8 python3.6dist(flask-restful) = 0.3.7 python3dist(flask-restful) = 0.3.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 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 Wrote: /builddir/build/RPMS/python3-flask-restful-0.3.7-5.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.H7jO3j + umask 022 + cd /builddir/build/BUILD + cd flask-restful-0.3.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-flask-restful-0.3.7-5.el8.x86_64 + exit 0 Child return code was: 0