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-flask-restful.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-260107-14345/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --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': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658448000 Wrote: /builddir/build/SRPMS/python-flask-restful-0.3.9-6.fc37.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-flask-restful.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-260107-14345/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --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': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1658448000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.sjTQMP + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf flask-restful-0.3.9 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v0.3.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd flask-restful-0.3.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf docs/_themes/.gitignore + echo 'Patch #0 (fix-relative-redirect.patch):' Patch #0 (fix-relative-redirect.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file tests/test_api.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tI1d2u + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flask-restful-0.3.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' 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/__init__.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 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 creating build/lib/flask_restful/utils copying flask_restful/utils/crypto.py -> build/lib/flask_restful/utils copying flask_restful/utils/__init__.py -> build/lib/flask_restful/utils copying flask_restful/utils/cors.py -> build/lib/flask_restful/utils 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' adding license file 'LICENSE' adding license file 'AUTHORS.md' writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.L7Xx5A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch ++ dirname /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flask-restful-0.3.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch --prefix /usr running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11 creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/representations copying build/lib/flask_restful/representations/json.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/representations copying build/lib/flask_restful/representations/__init__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/representations copying build/lib/flask_restful/reqparse.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful copying build/lib/flask_restful/__init__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful copying build/lib/flask_restful/inputs.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful copying build/lib/flask_restful/fields.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful copying build/lib/flask_restful/__version__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful creating /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils copying build/lib/flask_restful/utils/crypto.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils copying build/lib/flask_restful/utils/__init__.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils copying build/lib/flask_restful/utils/cors.py -> /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/representations/json.py to json.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/representations/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/reqparse.py to reqparse.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/inputs.py to inputs.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/fields.py to fields.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/__version__.py to __version__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils/crypto.py to crypto.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils/__init__.py to __init__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/flask_restful/utils/cors.py to cors.cpython-311.pyc writing byte-compilation script '/tmp/tmpglaybtm3.py' /usr/bin/python3 /tmp/tmpglaybtm3.py removing /tmp/tmpglaybtm3.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' adding license file 'LICENSE' adding license file 'AUTHORS.md' writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' Copying Flask_RESTful.egg-info to /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11/site-packages/Flask_RESTful-0.3.9-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/bin/__pycache__ + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.3.9-6.fc37 --unique-debug-suffix -0.3.9-6.fc37.noarch --unique-debug-src-base python-flask-restful-0.3.9-6.fc37.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/flask-restful-0.3.9 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-flask-restful-0.3.9-6.fc37.noarch/usr/lib/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.B6GsyI + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd flask-restful-0.3.9 + /usr/bin/python3 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' adding license file 'LICENSE' adding license file 'AUTHORS.md' writing manifest file 'Flask_RESTful.egg-info/SOURCES.txt' running build_ext test_accept_default_any_pick_first (tests.test_accept.AcceptTestCase.test_accept_default_any_pick_first) ... ok test_accept_default_application_json (tests.test_accept.AcceptTestCase.test_accept_default_application_json) ... ok test_accept_default_override_accept (tests.test_accept.AcceptTestCase.test_accept_default_override_accept) ... ok test_accept_invalid_default_no_representations (tests.test_accept.AcceptTestCase.test_accept_invalid_default_no_representations) ... Exception on / [GET] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 471, in wrapper return self.make_response(data, code, headers=headers) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 508, 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.test_accept_no_default_accept_highest_quality_of_three) ... ok test_accept_no_default_accept_highest_quality_of_two (tests.test_accept.AcceptTestCase.test_accept_no_default_accept_highest_quality_of_two) ... ok test_accept_no_default_custom_repr_match (tests.test_accept.AcceptTestCase.test_accept_no_default_custom_repr_match) ... ok test_accept_no_default_custom_repr_not_acceptable (tests.test_accept.AcceptTestCase.test_accept_no_default_custom_repr_not_acceptable) ... ok test_accept_no_default_match_acceptable (tests.test_accept.AcceptTestCase.test_accept_no_default_match_acceptable) ... ok test_accept_no_default_match_q0_not_acceptable (tests.test_accept.AcceptTestCase.test_accept_no_default_match_q0_not_acceptable) q=0 should be considered NotAcceptable, ... ok test_accept_no_default_no_match_not_acceptable (tests.test_accept.AcceptTestCase.test_accept_no_default_no_match_not_acceptable) ... ok test_accept_no_default_no_representations (tests.test_accept.AcceptTestCase.test_accept_no_default_no_representations) ... ok test_abort_custom_message (tests.test_api.APITestCase.test_abort_custom_message) ... ok test_abort_data (tests.test_api.APITestCase.test_abort_data) ... ok test_abort_no_data (tests.test_api.APITestCase.test_abort_no_data) ... ok test_abort_type (tests.test_api.APITestCase.test_abort_type) ... ok test_add_resource (tests.test_api.APITestCase.test_add_resource) ... ok test_add_resource_endpoint (tests.test_api.APITestCase.test_add_resource_endpoint) ... ok test_add_resource_forward_resource_class_parameters (tests.test_api.APITestCase.test_add_resource_forward_resource_class_parameters) ... ok test_add_resource_kwargs (tests.test_api.APITestCase.test_add_resource_kwargs) ... ok test_add_the_same_resource_on_same_endpoint (tests.test_api.APITestCase.test_add_the_same_resource_on_same_endpoint) ... ok test_add_two_conflicting_resources_on_same_endpoint (tests.test_api.APITestCase.test_add_two_conflicting_resources_on_same_endpoint) ... ok test_allow_null_presents_data (tests.test_api.APITestCase.test_allow_null_presents_data) ... ok test_api_base (tests.test_api.APITestCase.test_api_base) ... ok test_api_delayed_initialization (tests.test_api.APITestCase.test_api_delayed_initialization) ... ok test_api_prefix (tests.test_api.APITestCase.test_api_prefix) ... ok test_api_representation (tests.test_api.APITestCase.test_api_representation) ... ok test_apply_all_method_decorators_if_not_mapping (tests.test_api.APITestCase.test_apply_all_method_decorators_if_not_mapping) ... ok test_calling_owns_endpoint_before_api_init (tests.test_api.APITestCase.test_calling_owns_endpoint_before_api_init) ... ok test_custom_error_message (tests.test_api.APITestCase.test_custom_error_message) ... /builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py:283: DeprecationWarning: 'propagate_exceptions' is deprecated and will be removed in Flask 2.3. if not isinstance(e, HTTPException) and current_app.propagate_exceptions: Exception on /foo [GET] ok test_decorator (tests.test_api.APITestCase.test_decorator) ... ok test_decorators_only_applied_at_dispatch (tests.test_api.APITestCase.test_decorators_only_applied_at_dispatch) ... ok test_endpoints (tests.test_api.APITestCase.test_endpoints) ... ok test_error_router_falls_back_to_original (tests.test_api.APITestCase.test_error_router_falls_back_to_original) Verify that if an exception occurs in the Flask-RESTful error handler, ... ok test_exception_header_forwarded (tests.test_api.APITestCase.test_exception_header_forwarded) Test that HTTPException's headers are extended properly ... ERROR test_exception_header_forwarding_doesnt_duplicate_headers (tests.test_api.APITestCase.test_exception_header_forwarding_doesnt_duplicate_headers) Test that HTTPException's headers do not add a duplicate ... ok test_fr_405 (tests.test_api.APITestCase.test_fr_405) ... ok test_handle_api_error (tests.test_api.APITestCase.test_handle_api_error) ... ok test_handle_auth (tests.test_api.APITestCase.test_handle_auth) ... ok test_handle_error (tests.test_api.APITestCase.test_handle_error) ... ok test_handle_error_401_sends_challege_configured_realm (tests.test_api.APITestCase.test_handle_error_401_sends_challege_configured_realm) ... ok test_handle_error_401_sends_challege_default_realm (tests.test_api.APITestCase.test_handle_error_401_sends_challege_default_realm) ... ok test_handle_error_does_not_swallow_abort_response (tests.test_api.APITestCase.test_handle_error_does_not_swallow_abort_response) ... ok test_handle_error_does_not_swallow_custom_exceptions (tests.test_api.APITestCase.test_handle_error_does_not_swallow_custom_exceptions) ... ok test_handle_error_does_not_swallow_exceptions (tests.test_api.APITestCase.test_handle_error_does_not_swallow_exceptions) ... ok test_handle_error_signal (tests.test_api.APITestCase.test_handle_error_signal) ... ok test_handle_error_with_code (tests.test_api.APITestCase.test_handle_error_with_code) ... Exception on /foo [GET] ok test_handle_non_api_error (tests.test_api.APITestCase.test_handle_non_api_error) ... ok test_handle_server_error (tests.test_api.APITestCase.test_handle_server_error) ... Exception on /foo [GET] ok test_http_code (tests.test_api.APITestCase.test_http_code) ... ok test_json_float_marshalled (tests.test_api.APITestCase.test_json_float_marshalled) ... ok test_json_with_no_settings (tests.test_api.APITestCase.test_json_with_no_settings) ... ok test_marshal (tests.test_api.APITestCase.test_marshal) ... ok test_marshal_decorator (tests.test_api.APITestCase.test_marshal_decorator) ... ok test_marshal_decorator_tuple (tests.test_api.APITestCase.test_marshal_decorator_tuple) ... ok test_marshal_decorator_tuple_with_envelope (tests.test_api.APITestCase.test_marshal_decorator_tuple_with_envelope) ... ok test_marshal_decorator_with_envelope (tests.test_api.APITestCase.test_marshal_decorator_with_envelope) ... ok test_marshal_field (tests.test_api.APITestCase.test_marshal_field) ... ok test_marshal_field_decorator (tests.test_api.APITestCase.test_marshal_field_decorator) ... ok test_marshal_field_decorator_tuple (tests.test_api.APITestCase.test_marshal_field_decorator_tuple) ... ok test_marshal_list (tests.test_api.APITestCase.test_marshal_list) ... ok test_marshal_list_of_lists (tests.test_api.APITestCase.test_marshal_list_of_lists) ... ok test_marshal_list_of_nesteds (tests.test_api.APITestCase.test_marshal_list_of_nesteds) ... ok test_marshal_nested (tests.test_api.APITestCase.test_marshal_nested) ... ok test_marshal_nested_dict (tests.test_api.APITestCase.test_marshal_nested_dict) ... ok test_marshal_nested_property (tests.test_api.APITestCase.test_marshal_nested_property) ... ok test_marshal_nested_with_non_null (tests.test_api.APITestCase.test_marshal_nested_with_non_null) ... ok test_marshal_nested_with_null (tests.test_api.APITestCase.test_marshal_nested_with_null) ... ok test_marshal_tuple (tests.test_api.APITestCase.test_marshal_tuple) ... ok test_marshal_tuple_with_envelope (tests.test_api.APITestCase.test_marshal_tuple_with_envelope) ... ok test_marshal_with_envelope (tests.test_api.APITestCase.test_marshal_with_envelope) ... ok test_media_types (tests.test_api.APITestCase.test_media_types) ... ok test_media_types_method (tests.test_api.APITestCase.test_media_types_method) ... ok test_media_types_q (tests.test_api.APITestCase.test_media_types_q) ... ok test_non_api_error_404_catchall (tests.test_api.APITestCase.test_non_api_error_404_catchall) ... ok test_output_func (tests.test_api.APITestCase.test_output_func) ... ok test_output_unpack (tests.test_api.APITestCase.test_output_unpack) ... ok test_read_json_settings_from_config (tests.test_api.APITestCase.test_read_json_settings_from_config) ... ok test_redirect (tests.test_api.APITestCase.test_redirect) ... ok test_resource (tests.test_api.APITestCase.test_resource) ... ok test_resource_decorator (tests.test_api.APITestCase.test_resource_decorator) ... ok test_resource_error (tests.test_api.APITestCase.test_resource_error) ... ok test_resource_head (tests.test_api.APITestCase.test_resource_head) ... ok test_resource_resp (tests.test_api.APITestCase.test_resource_resp) ... ok test_resource_text_plain (tests.test_api.APITestCase.test_resource_text_plain) ... ok test_selectively_apply_method_decorators (tests.test_api.APITestCase.test_selectively_apply_method_decorators) ... ok test_unauthorized (tests.test_api.APITestCase.test_unauthorized) ... ok test_unauthorized_custom_realm (tests.test_api.APITestCase.test_unauthorized_custom_realm) ... ok test_unauthorized_no_challenge_by_default (tests.test_api.APITestCase.test_unauthorized_no_challenge_by_default) ... ok test_url_for (tests.test_api.APITestCase.test_url_for) ... ok test_url_for_with_blueprint (tests.test_api.APITestCase.test_url_for_with_blueprint) Verify that url_for works when an Api object is mounted on a ... ok test_use_custom_jsonencoder (tests.test_api.APITestCase.test_use_custom_jsonencoder) ... ok test_will_prettyprint_json_in_debug_mode (tests.test_api.APITestCase.test_will_prettyprint_json_in_debug_mode) ... 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.test_add_resource_endpoint) ... ok test_add_resource_endpoint_after_registration (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_add_resource_endpoint_after_registration) ... ok test_api_base (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_api_base) ... ok test_api_delayed_initialization (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_api_delayed_initialization) ... ok test_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_error_routing) ... ok test_non_blueprint_non_rest_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_non_blueprint_non_rest_error_routing) ... ok test_non_blueprint_rest_error_routing (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_non_blueprint_rest_error_routing) ... ok test_registration_prefix_overrides_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_registration_prefix_overrides_blueprint_prefix) ... ok test_url_part_order_aeb (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_url_part_order_aeb) ... ok test_url_with_api_and_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_url_with_api_and_blueprint_prefix) ... ok test_url_with_api_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_url_with_api_prefix) ... ok test_url_with_blueprint_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_url_with_blueprint_prefix) ... ok test_url_with_registration_prefix (tests.test_api_with_blueprint.APIWithBlueprintTestCase.test_url_with_registration_prefix) ... ok test_access_control_allow_methods (tests.test_cors.CORSTestCase.test_access_control_allow_methods) ... ok test_access_control_expose_headers (tests.test_cors.CORSTestCase.test_access_control_expose_headers) ... ok test_crossdomain (tests.test_cors.CORSTestCase.test_crossdomain) ... ok test_no_crossdomain (tests.test_cors.CORSTestCase.test_no_crossdomain) ... ok test_advanced_fixed (tests.test_fields.FieldsTestCase.test_advanced_fixed) ... ok test_arbitrary (tests.test_fields.FieldsTestCase.test_arbitrary) ... ok test_attribute (tests.test_fields.FieldsTestCase.test_attribute) ... ok test_basic_dictionary (tests.test_fields.FieldsTestCase.test_basic_dictionary) ... ok test_basic_field (tests.test_fields.FieldsTestCase.test_basic_field) ... ok test_date_field_invalid (tests.test_fields.FieldsTestCase.test_date_field_invalid) ... ok test_decimal_trash (tests.test_fields.FieldsTestCase.test_decimal_trash) ... ok test_fixed (tests.test_fields.FieldsTestCase.test_fixed) ... ok test_fixed_with_attribute (tests.test_fields.FieldsTestCase.test_fixed_with_attribute) ... ok test_float (tests.test_fields.FieldsTestCase.test_float) ... ok test_float_decode_error (tests.test_fields.FieldsTestCase.test_float_decode_error) ... ok test_formatted_string (tests.test_fields.FieldsTestCase.test_formatted_string) ... ok test_formatted_string_invalid_obj (tests.test_fields.FieldsTestCase.test_formatted_string_invalid_obj) ... ok test_formatting_field (tests.test_fields.FieldsTestCase.test_formatting_field) ... ok test_formatting_field_dict (tests.test_fields.FieldsTestCase.test_formatting_field_dict) ... ok test_formatting_field_none (tests.test_fields.FieldsTestCase.test_formatting_field_none) ... ok test_formatting_field_tuple (tests.test_fields.FieldsTestCase.test_formatting_field_tuple) ... ok test_get_value (tests.test_fields.FieldsTestCase.test_get_value) ... ok test_get_value_no_value (tests.test_fields.FieldsTestCase.test_get_value_no_value) ... ok test_get_value_obj (tests.test_fields.FieldsTestCase.test_get_value_obj) ... ok test_indexable_object (tests.test_fields.FieldsTestCase.test_indexable_object) ... ok test_infinite_fixed (tests.test_fields.FieldsTestCase.test_infinite_fixed) ... ok test_int (tests.test_fields.FieldsTestCase.test_int) ... ok test_int_decode_error (tests.test_fields.FieldsTestCase.test_int_decode_error) ... ok test_int_default (tests.test_fields.FieldsTestCase.test_int_default) ... ok test_iso8601_date_field_with_offset (tests.test_fields.FieldsTestCase.test_iso8601_date_field_with_offset) ... ok test_iso8601_date_field_without_offset (tests.test_fields.FieldsTestCase.test_iso8601_date_field_without_offset) ... ok test_list (tests.test_fields.FieldsTestCase.test_list) ... ok test_list_from_dict_with_attribute (tests.test_fields.FieldsTestCase.test_list_from_dict_with_attribute) ... ok test_list_from_object (tests.test_fields.FieldsTestCase.test_list_from_object) ... ok test_list_from_set (tests.test_fields.FieldsTestCase.test_list_from_set) ... ok test_list_of_nested (tests.test_fields.FieldsTestCase.test_list_of_nested) ... ok test_list_of_raw (tests.test_fields.FieldsTestCase.test_list_of_raw) ... ok test_list_with_attribute (tests.test_fields.FieldsTestCase.test_list_with_attribute) ... ok test_list_with_scoped_attribute_on_dict_or_obj (tests.test_fields.FieldsTestCase.test_list_with_scoped_attribute_on_dict_or_obj) ... ok test_nested_raw_field (tests.test_fields.FieldsTestCase.test_nested_raw_field) ... ok test_nested_with_default (tests.test_fields.FieldsTestCase.test_nested_with_default) ... ok test_no_attribute (tests.test_fields.FieldsTestCase.test_no_attribute) ... ok test_no_int (tests.test_fields.FieldsTestCase.test_no_int) ... ok test_null_list (tests.test_fields.FieldsTestCase.test_null_list) ... ok test_raw_field (tests.test_fields.FieldsTestCase.test_raw_field) ... ok test_rfc822_date_field_with_offset (tests.test_fields.FieldsTestCase.test_rfc822_date_field_with_offset) ... ok test_rfc822_date_field_without_offset (tests.test_fields.FieldsTestCase.test_rfc822_date_field_without_offset) ... ok test_string (tests.test_fields.FieldsTestCase.test_string) ... ok test_string_no_value (tests.test_fields.FieldsTestCase.test_string_no_value) ... ok test_string_none (tests.test_fields.FieldsTestCase.test_string_none) ... ok test_string_with_attribute (tests.test_fields.FieldsTestCase.test_string_with_attribute) ... ok test_string_with_lambda (tests.test_fields.FieldsTestCase.test_string_with_lambda) ... ok test_string_with_partial (tests.test_fields.FieldsTestCase.test_string_with_partial) ... ok test_to_dict (tests.test_fields.FieldsTestCase.test_to_dict) ... ok test_to_dict_custom_marshal (tests.test_fields.FieldsTestCase.test_to_dict_custom_marshal) ... ok test_to_dict_obj (tests.test_fields.FieldsTestCase.test_to_dict_obj) ... ok test_unsupported_datetime_format (tests.test_fields.FieldsTestCase.test_unsupported_datetime_format) ... ok test_url (tests.test_fields.FieldsTestCase.test_url) ... ok test_url_absolute (tests.test_fields.FieldsTestCase.test_url_absolute) ... ok test_url_absolute_scheme (tests.test_fields.FieldsTestCase.test_url_absolute_scheme) Url.scheme should override current_request.scheme ... ok test_url_invalid_object (tests.test_fields.FieldsTestCase.test_url_invalid_object) ... ok test_url_superclass_kwargs (tests.test_fields.FieldsTestCase.test_url_superclass_kwargs) ... ok test_url_with_blueprint (tests.test_fields.FieldsTestCase.test_url_with_blueprint) ... ok test_url_with_blueprint_absolute (tests.test_fields.FieldsTestCase.test_url_with_blueprint_absolute) ... ok test_url_with_blueprint_absolute_scheme (tests.test_fields.FieldsTestCase.test_url_with_blueprint_absolute_scheme) ... ok test_url_with_blueprint_invalid_object (tests.test_fields.FieldsTestCase.test_url_with_blueprint_invalid_object) ... ok test_url_without_endpoint (tests.test_fields.FieldsTestCase.test_url_without_endpoint) ... ok test_url_without_endpoint_absolute (tests.test_fields.FieldsTestCase.test_url_without_endpoint_absolute) ... ok test_url_without_endpoint_absolute_scheme (tests.test_fields.FieldsTestCase.test_url_without_endpoint_absolute_scheme) ... ok test_url_without_endpoint_invalid_object (tests.test_fields.FieldsTestCase.test_url_without_endpoint_invalid_object) ... ok test_zero_fixed (tests.test_fields.FieldsTestCase.test_zero_fixed) ... ok tests.test_fields.test_float(-3.13, , '-3.13') ... /builddir/build/BUILD/flask-restful-0.3.9/tests/test_fields.py:26: DeprecationWarning: Please use assertEqual instead. assert_equals(expected, field.output('a', {'a': value})) 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.11/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.test_bad_boolean) ... ok test_boolean (tests.test_inputs.TypesTestCase.test_boolean) ... ok test_boolean_false (tests.test_inputs.TypesTestCase.test_boolean_false) ... ok test_boolean_is_false_for_0 (tests.test_inputs.TypesTestCase.test_boolean_is_false_for_0) ... ok test_boolean_is_true_for_1 (tests.test_inputs.TypesTestCase.test_boolean_is_true_for_1) ... ok test_boolean_true (tests.test_inputs.TypesTestCase.test_boolean_true) ... ok test_boolean_upper_case (tests.test_inputs.TypesTestCase.test_boolean_upper_case) ... ok test_boolean_with_python_bool (tests.test_inputs.TypesTestCase.test_boolean_with_python_bool) Input that is already a native python `bool` should be passed through ... ok test_date_input (tests.test_inputs.TypesTestCase.test_date_input) ... ok test_date_input_error (tests.test_inputs.TypesTestCase.test_date_input_error) ... ok test_date_later_than_1900 (tests.test_inputs.TypesTestCase.test_date_later_than_1900) ... ok test_int_range_good (tests.test_inputs.TypesTestCase.test_int_range_good) ... ok test_int_range_high (tests.test_inputs.TypesTestCase.test_int_range_high) ... ok test_int_range_inclusive (tests.test_inputs.TypesTestCase.test_int_range_inclusive) ... ok test_int_range_low (tests.test_inputs.TypesTestCase.test_int_range_low) ... ok test_natual_negative (tests.test_inputs.TypesTestCase.test_natual_negative) ... ok test_natual_string (tests.test_inputs.TypesTestCase.test_natual_string) ... ok test_natural (tests.test_inputs.TypesTestCase.test_natural) ... ok test_positive (tests.test_inputs.TypesTestCase.test_positive) ... ok test_positive_negative_input (tests.test_inputs.TypesTestCase.test_positive_negative_input) ... ok test_positive_zero (tests.test_inputs.TypesTestCase.test_positive_zero) ... 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 0x3fbc5b2ca0>) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x3fbc5b2de0>) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x3fbc5b2d40>) ... ok tests.test_inputs.test_regex_bad_input(, . at 0x3fbc5b2de0>) ... 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 0x3fbc5b2f20>) ... ok tests.test_inputs.test_regex_flags_bad_input(, . at 0x3fbc5b2fc0>) ... 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.test_action) ... ok test_action_default (tests.test_reqparse.ReqParseTestCase.test_action_default) ... ok test_action_filter (tests.test_reqparse.ReqParseTestCase.test_action_filter) ... ok test_argument_repr (tests.test_reqparse.ReqParseTestCase.test_argument_repr) ... ok test_argument_str (tests.test_reqparse.ReqParseTestCase.test_argument_str) ... ok test_both_json_and_values_location (tests.test_reqparse.ReqParseTestCase.test_both_json_and_values_location) ... ok test_chaining (tests.test_reqparse.ReqParseTestCase.test_chaining) ... ok test_choices (tests.test_reqparse.ReqParseTestCase.test_choices) ... ok test_choices_default (tests.test_reqparse.ReqParseTestCase.test_choices_default) ... ok test_convert_default_type_with_null_input (tests.test_reqparse.ReqParseTestCase.test_convert_default_type_with_null_input) ... ok test_convert_with_null_input_when_not_nullable (tests.test_reqparse.ReqParseTestCase.test_convert_with_null_input_when_not_nullable) ... ok test_default (tests.test_reqparse.ReqParseTestCase.test_default) ... ok test_default_default (tests.test_reqparse.ReqParseTestCase.test_default_default) ... ok test_default_dest (tests.test_reqparse.ReqParseTestCase.test_default_dest) ... ok test_default_help (tests.test_reqparse.ReqParseTestCase.test_default_help) ... ok test_default_operators (tests.test_reqparse.ReqParseTestCase.test_default_operators) ... ok test_default_type (tests.test_reqparse.ReqParseTestCase.test_default_type) ... ok test_dest (tests.test_reqparse.ReqParseTestCase.test_dest) ... ok test_filestorage_custom_type (tests.test_reqparse.ReqParseTestCase.test_filestorage_custom_type) ... ok test_get_json_location (tests.test_reqparse.ReqParseTestCase.test_get_json_location) ... ok test_help_no_error_msg (tests.test_reqparse.ReqParseTestCase.test_help_no_error_msg) ... ok test_help_with_error_msg (tests.test_reqparse.ReqParseTestCase.test_help_with_error_msg) ... ok test_help_with_unicode_error_msg (tests.test_reqparse.ReqParseTestCase.test_help_with_unicode_error_msg) ... ok test_ignore (tests.test_reqparse.ReqParseTestCase.test_ignore) ... ok test_ignore_default (tests.test_reqparse.ReqParseTestCase.test_ignore_default) ... ok test_int_choice_types (tests.test_reqparse.ReqParseTestCase.test_int_choice_types) ... ok test_int_range_choice_types (tests.test_reqparse.ReqParseTestCase.test_int_range_choice_types) ... ok test_json_location (tests.test_reqparse.ReqParseTestCase.test_json_location) ... ERROR test_list_argument (tests.test_reqparse.ReqParseTestCase.test_list_argument) ... ok test_list_argument_dict (tests.test_reqparse.ReqParseTestCase.test_list_argument_dict) ... ok test_location_get_json (tests.test_reqparse.ReqParseTestCase.test_location_get_json) ... ok test_location_header (tests.test_reqparse.ReqParseTestCase.test_location_header) ... ok test_location_header_list (tests.test_reqparse.ReqParseTestCase.test_location_header_list) ... ok test_location_json (tests.test_reqparse.ReqParseTestCase.test_location_json) ... ok test_location_url (tests.test_reqparse.ReqParseTestCase.test_location_url) ... ok test_location_url_list (tests.test_reqparse.ReqParseTestCase.test_location_url_list) ... ok test_name (tests.test_reqparse.ReqParseTestCase.test_name) ... ok test_namespace_configurability (tests.test_reqparse.ReqParseTestCase.test_namespace_configurability) ... ok test_namespace_existence (tests.test_reqparse.ReqParseTestCase.test_namespace_existence) ... ok test_namespace_missing (tests.test_reqparse.ReqParseTestCase.test_namespace_missing) ... ok test_no_help (tests.test_reqparse.ReqParseTestCase.test_no_help) ... ok test_none_argument (tests.test_reqparse.ReqParseTestCase.test_none_argument) ... ok test_not_json_location_and_content_type_json (tests.test_reqparse.ReqParseTestCase.test_not_json_location_and_content_type_json) ... ok test_operator (tests.test_reqparse.ReqParseTestCase.test_operator) ... ok test_option_case_sensitive (tests.test_reqparse.ReqParseTestCase.test_option_case_sensitive) ... ok test_parse (tests.test_reqparse.ReqParseTestCase.test_parse) ... ERROR test_parse_append (tests.test_reqparse.ReqParseTestCase.test_parse_append) ... ERROR test_parse_append_default (tests.test_reqparse.ReqParseTestCase.test_parse_append_default) ... ERROR test_parse_append_ignore (tests.test_reqparse.ReqParseTestCase.test_parse_append_ignore) ... ERROR test_parse_append_many (tests.test_reqparse.ReqParseTestCase.test_parse_append_many) ... ERROR test_parse_append_many_location_json (tests.test_reqparse.ReqParseTestCase.test_parse_append_many_location_json) ... ok test_parse_append_single (tests.test_reqparse.ReqParseTestCase.test_parse_append_single) ... ERROR test_parse_callable_default (tests.test_reqparse.ReqParseTestCase.test_parse_callable_default) ... ERROR test_parse_choices (tests.test_reqparse.ReqParseTestCase.test_parse_choices) ... ok test_parse_choices_correct (tests.test_reqparse.ReqParseTestCase.test_parse_choices_correct) ... ERROR test_parse_choices_insensitive (tests.test_reqparse.ReqParseTestCase.test_parse_choices_insensitive) ... ERROR test_parse_choices_sensitive (tests.test_reqparse.ReqParseTestCase.test_parse_choices_sensitive) ... ok test_parse_default (tests.test_reqparse.ReqParseTestCase.test_parse_default) ... ERROR test_parse_default_append (tests.test_reqparse.ReqParseTestCase.test_parse_default_append) ... ERROR test_parse_dest (tests.test_reqparse.ReqParseTestCase.test_parse_dest) ... ERROR test_parse_eq (tests.test_reqparse.ReqParseTestCase.test_parse_eq) ... ERROR test_parse_eq_other (tests.test_reqparse.ReqParseTestCase.test_parse_eq_other) ... ERROR test_parse_error_bundling (tests.test_reqparse.ReqParseTestCase.test_parse_error_bundling) ... ok test_parse_error_bundling_w_parser_arg (tests.test_reqparse.ReqParseTestCase.test_parse_error_bundling_w_parser_arg) ... ok test_parse_foo_operators_four_hunderd (tests.test_reqparse.ReqParseTestCase.test_parse_foo_operators_four_hunderd) ... ok test_parse_foo_operators_ignore (tests.test_reqparse.ReqParseTestCase.test_parse_foo_operators_ignore) ... ERROR test_parse_gte (tests.test_reqparse.ReqParseTestCase.test_parse_gte) ... ERROR test_parse_gte_lte_eq (tests.test_reqparse.ReqParseTestCase.test_parse_gte_lte_eq) ... ERROR test_parse_ignore (tests.test_reqparse.ReqParseTestCase.test_parse_ignore) ... ERROR test_parse_lte (tests.test_reqparse.ReqParseTestCase.test_parse_lte) ... ERROR test_parse_lte_gte_append (tests.test_reqparse.ReqParseTestCase.test_parse_lte_gte_append) ... ERROR test_parse_lte_gte_missing (tests.test_reqparse.ReqParseTestCase.test_parse_lte_gte_missing) ... ERROR test_parse_lte_gte_mock (tests.test_reqparse.ReqParseTestCase.test_parse_lte_gte_mock) ... ERROR test_parse_none (tests.test_reqparse.ReqParseTestCase.test_parse_none) ... ERROR test_parse_required (tests.test_reqparse.ReqParseTestCase.test_parse_required) ... ok test_parse_store_missing (tests.test_reqparse.ReqParseTestCase.test_parse_store_missing) ... ERROR test_parse_unicode (tests.test_reqparse.ReqParseTestCase.test_parse_unicode) ... ERROR test_parse_unicode_app (tests.test_reqparse.ReqParseTestCase.test_parse_unicode_app) ... ERROR test_passing_arguments_object (tests.test_reqparse.ReqParseTestCase.test_passing_arguments_object) ... ERROR test_request_parse_copy_including_settings (tests.test_reqparse.ReqParseTestCase.test_request_parse_copy_including_settings) ... ok test_request_parser_copy (tests.test_reqparse.ReqParseTestCase.test_request_parser_copy) ... ERROR test_request_parser_remove_argument (tests.test_reqparse.ReqParseTestCase.test_request_parser_remove_argument) ... ok test_request_parser_replace_argument (tests.test_reqparse.ReqParseTestCase.test_request_parser_replace_argument) ... ERROR test_required (tests.test_reqparse.ReqParseTestCase.test_required) ... ok test_required_default (tests.test_reqparse.ReqParseTestCase.test_required_default) ... ok test_source (tests.test_reqparse.ReqParseTestCase.test_source) ... ok test_source_bad_location (tests.test_reqparse.ReqParseTestCase.test_source_bad_location) ... ok test_source_default_location (tests.test_reqparse.ReqParseTestCase.test_source_default_location) ... ok test_strict_parsing_off (tests.test_reqparse.ReqParseTestCase.test_strict_parsing_off) ... ok test_strict_parsing_off_partial_hit (tests.test_reqparse.ReqParseTestCase.test_strict_parsing_off_partial_hit) ... ERROR test_strict_parsing_on (tests.test_reqparse.ReqParseTestCase.test_strict_parsing_on) ... ok test_strict_parsing_on_partial_hit (tests.test_reqparse.ReqParseTestCase.test_strict_parsing_on_partial_hit) ... ok test_trim_argument (tests.test_reqparse.ReqParseTestCase.test_trim_argument) ... ERROR test_trim_request_parser (tests.test_reqparse.ReqParseTestCase.test_trim_request_parser) ... ERROR test_trim_request_parser_json (tests.test_reqparse.ReqParseTestCase.test_trim_request_parser_json) ... ok test_trim_request_parser_override_by_argument (tests.test_reqparse.ReqParseTestCase.test_trim_request_parser_override_by_argument) ... ok test_type (tests.test_reqparse.ReqParseTestCase.test_type) ... ok test_type_callable (tests.test_reqparse.ReqParseTestCase.test_type_callable) ... ERROR test_type_callable_none (tests.test_reqparse.ReqParseTestCase.test_type_callable_none) ... ok test_type_decimal (tests.test_reqparse.ReqParseTestCase.test_type_decimal) ... ok test_type_filestorage (tests.test_reqparse.ReqParseTestCase.test_type_filestorage) ... ok test_type_hard_decimal (tests.test_reqparse.ReqParseTestCase.test_type_hard_decimal) ... ok test_viewargs (tests.test_reqparse.ReqParseTestCase.test_viewargs) ... ok ====================================================================== ERROR: test_exception_header_forwarded (tests.test_api.APITestCase.test_exception_header_forwarded) Test that HTTPException's headers are extended properly ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_api.py", line 817, in test_exception_header_forwarded foo = client.get('/foo') ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 1140, in get return self.open(*args, **kw) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/testing.py", line 223, in open response = super().open( ^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 1094, in open response = self.run_wsgi_app(request.environ, buffered=buffered) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 961, in run_wsgi_app rv = run_wsgi_app(self.application, environ, buffered=buffered) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/test.py", line 1242, in run_wsgi_app app_rv = app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 2548, in __call__ return self.wsgi_app(environ, start_response) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 2528, in wsgi_app response = self.handle_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 271, in error_router return original_handler(e) ^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 268, in error_router return self.handle_error(e) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 2525, in wsgi_app response = self.full_dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 1822, in full_dispatch_request rv = self.handle_user_exception(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 271, in error_router return original_handler(e) ^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 268, in error_router return self.handle_error(e) ^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 1820, in full_dispatch_request rv = self.dispatch_request() ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/app.py", line 1796, in dispatch_request return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 467, in wrapper resp = resource(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/views.py", line 107, in view return current_app.ensure_sync(self.dispatch_request)(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/__init__.py", line 582, in dispatch_request resp = meth(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_api.py", line 811, in get flask_abort(304, etag='myETag') File "/usr/lib/python3.11/site-packages/flask/helpers.py", line 310, in abort current_app.aborter(code, *args, **kwargs) File "/usr/lib/python3.11/site-packages/werkzeug/exceptions.py", line 862, in __call__ raise LookupError(f"no exception for {code!r}") LookupError: no exception for 304 ====================================================================== ERROR: test_json_location (tests.test_reqparse.ReqParseTestCase.test_json_location) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/flask/wrappers.py", line 128, in on_json_loading_failed return super().on_json_loading_failed(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 252, in test_json_location args = parser.parse_args() ^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 117, in source value = getattr(request, self.location, MultiDict()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/wrappers.py", line 133, in on_json_loading_failed raise BadRequest() from e werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. ====================================================================== ERROR: test_parse (tests.test_reqparse.ReqParseTestCase.test_parse) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 519, in test_parse args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_append (tests.test_reqparse.ReqParseTestCase.test_parse_append) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 292, in test_parse_append args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_append_default (tests.test_reqparse.ReqParseTestCase.test_parse_append_default) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 283, in test_parse_append_default args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_append_ignore (tests.test_reqparse.ReqParseTestCase.test_parse_append_ignore) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 274, in test_parse_append_ignore args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_append_many (tests.test_reqparse.ReqParseTestCase.test_parse_append_many) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 310, in test_parse_append_many args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_append_single (tests.test_reqparse.ReqParseTestCase.test_parse_append_single) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 301, in test_parse_append_single args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_callable_default (tests.test_reqparse.ReqParseTestCase.test_parse_callable_default) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 510, in test_parse_callable_default args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_choices_correct (tests.test_reqparse.ReqParseTestCase.test_parse_choices_correct) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 546, in test_parse_choices_correct args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_choices_insensitive (tests.test_reqparse.ReqParseTestCase.test_parse_choices_insensitive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 575, in test_parse_choices_insensitive args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_default (tests.test_reqparse.ReqParseTestCase.test_parse_default) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 501, in test_parse_default args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_default_append (tests.test_reqparse.ReqParseTestCase.test_parse_default_append) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 491, in test_parse_default_append args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_dest (tests.test_reqparse.ReqParseTestCase.test_parse_dest) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 331, in test_parse_dest args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_eq (tests.test_reqparse.ReqParseTestCase.test_parse_eq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 400, in test_parse_eq args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_eq_other (tests.test_reqparse.ReqParseTestCase.test_parse_eq_other) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 393, in test_parse_eq_other args = parser.parse_args(Request.from_values("/bubble?foo=bar&foo=bat")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_foo_operators_ignore (tests.test_reqparse.ReqParseTestCase.test_parse_foo_operators_ignore) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 364, in test_parse_foo_operators_ignore args = parser.parse_args(Request.from_values("/bubble")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_gte (tests.test_reqparse.ReqParseTestCase.test_parse_gte) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 349, in test_parse_gte args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_gte_lte_eq (tests.test_reqparse.ReqParseTestCase.test_parse_gte_lte_eq) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 340, in test_parse_gte_lte_eq args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_ignore (tests.test_reqparse.ReqParseTestCase.test_parse_ignore) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 593, in test_parse_ignore args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_lte (tests.test_reqparse.ReqParseTestCase.test_parse_lte) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 408, in test_parse_lte args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_lte_gte_append (tests.test_reqparse.ReqParseTestCase.test_parse_lte_gte_append) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 381, in test_parse_lte_gte_append args = parser.parse_args(Request.from_values("/bubble?foo<=bar")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_lte_gte_missing (tests.test_reqparse.ReqParseTestCase.test_parse_lte_gte_missing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 387, in test_parse_lte_gte_missing args = parser.parse_args(Request.from_values("/bubble?foo<=bar")) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_lte_gte_mock (tests.test_reqparse.ReqParseTestCase.test_parse_lte_gte_mock) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 374, in test_parse_lte_gte_mock parser.parse_args(req) File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_none (tests.test_reqparse.ReqParseTestCase.test_parse_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 528, in test_parse_none args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_store_missing (tests.test_reqparse.ReqParseTestCase.test_parse_store_missing) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 537, in test_parse_store_missing args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_unicode (tests.test_reqparse.ReqParseTestCase.test_parse_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 232, in test_parse_unicode args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_parse_unicode_app (tests.test_reqparse.ReqParseTestCase.test_parse_unicode_app) ---------------------------------------------------------------------- Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/flask/wrappers.py", line 128, in on_json_loading_failed return super().on_json_loading_failed(e) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 242, in test_parse_unicode_app args = parser.parse_args() ^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/flask/wrappers.py", line 133, in on_json_loading_failed raise BadRequest() from e werkzeug.exceptions.BadRequest: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand. ====================================================================== ERROR: test_passing_arguments_object (tests.test_reqparse.ReqParseTestCase.test_passing_arguments_object) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 718, in test_passing_arguments_object args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_request_parser_copy (tests.test_reqparse.ReqParseTestCase.test_request_parser_copy) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 769, in test_request_parser_copy args = parser_copy.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_request_parser_replace_argument (tests.test_reqparse.ReqParseTestCase.test_request_parser_replace_argument) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 787, in test_request_parser_replace_argument args = parser_copy.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_strict_parsing_off_partial_hit (tests.test_reqparse.ReqParseTestCase.test_strict_parsing_off_partial_hit) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 839, in test_strict_parsing_off_partial_hit args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_trim_argument (tests.test_reqparse.ReqParseTestCase.test_trim_argument) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 852, in test_trim_argument args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== ERROR: test_trim_request_parser (tests.test_reqparse.ReqParseTestCase.test_trim_request_parser) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 869, in test_trim_request_parser args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ====================================================================== RPM build errors: ERROR: test_type_callable (tests.test_reqparse.ReqParseTestCase.test_type_callable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/flask-restful-0.3.9/tests/test_reqparse.py", line 635, in test_type_callable args = parser.parse_args(req) ^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 328, in parse_args value, found = arg.parse(req, self.bundle_errors) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 184, in parse source = self.source(request) ^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/flask-restful-0.3.9/flask_restful/reqparse.py", line 125, in source value = getattr(request, l, None) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 540, in json return self.get_json() ^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 571, in get_json return self.on_json_loading_failed(None) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/werkzeug/wrappers/request.py", line 611, in on_json_loading_failed raise BadRequest( werkzeug.exceptions.BadRequest: 400 Bad Request: Did not attempt to load JSON data because the request Content-Type was not 'application/json'. ---------------------------------------------------------------------- Ran 401 tests in 6.714s FAILED (errors=35) Test failed: error: Test failed: error: Bad exit status from /var/tmp/rpm-tmp.B6GsyI (%check) Bad exit status from /var/tmp/rpm-tmp.B6GsyI (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-flask-restful.spec