Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 845269 Details for
Bug 888671
dev-python/responses-0.22.0-r1 fails tests: AttributeError: 'ContentServer' object has no attribute 'expect_request'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:responses-0.22.0-r1:20221227-123538.log
dev-python:responses-0.22.0-r1:20221227-123538.log (text/plain), 54.60 KB, created by
Jonathan Lovelace
on 2022-12-27 23:14:32 UTC
(
hide
)
Description:
dev-python:responses-0.22.0-r1:20221227-123538.log
Filename:
MIME Type:
Creator:
Jonathan Lovelace
Created:
2022-12-27 23:14:32 UTC
Size:
54.60 KB
patch
obsolete
> * Package: dev-python/responses-0.22.0-r1:0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * Upstream: https://github.com/getsentry/responses/issues > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 test userland_GNU > * FEATURES: distcc fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox > * Applying responses-0.22.0-tomli.patch ... > [ ok ] > * Build system packages: > * dev-python/gpep517 : 11 > * dev-python/installer : 0.5.1-r1 > * dev-python/setuptools : 65.6.3 > * dev-python/setuptools_scm : 7.0.5 > * dev-python/wheel : 0.38.4 > * python3_10: running distutils-r1_run_phase distutils-r1_python_compile > * Building the wheel for responses-0.22.0 via setuptools.build_meta:__legacy__ >gpep517 build-wheel --backend setuptools.build_meta:__legacy__ --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/wheel >2022-12-27 07:35:41,398 gpep517 INFO Building wheel via backend setuptools.build_meta:__legacy__ >2022-12-27 07:35:41,630 root INFO running bdist_wheel >2022-12-27 07:35:41,901 root INFO running build >2022-12-27 07:35:41,902 root INFO running build_py >2022-12-27 07:35:41,947 root INFO creating build >2022-12-27 07:35:41,947 root INFO creating build/lib >2022-12-27 07:35:41,947 root INFO creating build/lib/responses >2022-12-27 07:35:41,948 root INFO copying responses/__init__.py -> build/lib/responses >2022-12-27 07:35:41,948 root INFO copying responses/_recorder.py -> build/lib/responses >2022-12-27 07:35:41,948 root INFO copying responses/matchers.py -> build/lib/responses >2022-12-27 07:35:41,949 root INFO copying responses/registries.py -> build/lib/responses >2022-12-27 07:35:41,949 root INFO running egg_info >2022-12-27 07:35:41,996 root INFO creating responses.egg-info >2022-12-27 07:35:42,040 root INFO writing responses.egg-info/PKG-INFO >2022-12-27 07:35:42,041 root INFO writing dependency_links to responses.egg-info/dependency_links.txt >2022-12-27 07:35:42,041 root INFO writing requirements to responses.egg-info/requires.txt >2022-12-27 07:35:42,041 root INFO writing top-level names to responses.egg-info/top_level.txt >2022-12-27 07:35:42,043 root INFO writing manifest file 'responses.egg-info/SOURCES.txt' >2022-12-27 07:35:42,145 setuptools_scm.file_finder_git ERROR listing git files failed - pretending there aren't any >2022-12-27 07:35:42,320 root INFO reading manifest file 'responses.egg-info/SOURCES.txt' >2022-12-27 07:35:42,320 root INFO reading manifest template 'MANIFEST.in' >2022-12-27 07:35:42,323 root WARNING warning: no previously-included files matching '*~' found anywhere in distribution >2022-12-27 07:35:42,323 root INFO adding license file 'LICENSE' >2022-12-27 07:35:42,324 root INFO writing manifest file 'responses.egg-info/SOURCES.txt' >/usr/lib/python3.10/site-packages/setuptools/command/build_py.py:202: SetuptoolsDeprecationWarning: Installing 'responses.tests' as data is deprecated, please list it in `packages`. > !! > > > ############################ > # Package would be ignored # > ############################ > Python recognizes 'responses.tests' as an importable package, > but it is not listed in the `packages` configuration of setuptools. > > 'responses.tests' has been automatically added to the distribution only > because it may contain data files, but this behavior is likely to change > in future versions of setuptools (and therefore is considered deprecated). > > Please make sure that 'responses.tests' is included as a package by using > the `packages` configuration field or the proper discovery methods > (for example by using `find_namespace_packages(...)`/`find_namespace:` > instead of `find_packages(...)`/`find:`). > > You can read more about "package discovery" and "data files" on setuptools > documentation page. > > >!! > > check.warn(importable) >2022-12-27 07:35:42,326 root INFO copying responses/py.typed -> build/lib/responses >2022-12-27 07:35:42,326 root INFO creating build/lib/responses/tests >2022-12-27 07:35:42,326 root INFO copying responses/tests/__init__.py -> build/lib/responses/tests >2022-12-27 07:35:42,327 root INFO copying responses/tests/test_matchers.py -> build/lib/responses/tests >2022-12-27 07:35:42,327 root INFO copying responses/tests/test_multithreading.py -> build/lib/responses/tests >2022-12-27 07:35:42,327 root INFO copying responses/tests/test_recorder.py -> build/lib/responses/tests >2022-12-27 07:35:42,328 root INFO copying responses/tests/test_registries.py -> build/lib/responses/tests >2022-12-27 07:35:42,328 root INFO copying responses/tests/test_responses.py -> build/lib/responses/tests >2022-12-27 07:35:42,329 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2022-12-27 07:35:42,420 wheel INFO installing to build/bdist.linux-x86_64/wheel >2022-12-27 07:35:42,420 root INFO running install >2022-12-27 07:35:42,434 root INFO running install_lib >2022-12-27 07:35:42,478 root INFO creating build/bdist.linux-x86_64 >2022-12-27 07:35:42,478 root INFO creating build/bdist.linux-x86_64/wheel >2022-12-27 07:35:42,478 root INFO creating build/bdist.linux-x86_64/wheel/responses >2022-12-27 07:35:42,479 root INFO copying build/lib/responses/__init__.py -> build/bdist.linux-x86_64/wheel/responses >2022-12-27 07:35:42,479 root INFO copying build/lib/responses/_recorder.py -> build/bdist.linux-x86_64/wheel/responses >2022-12-27 07:35:42,479 root INFO copying build/lib/responses/py.typed -> build/bdist.linux-x86_64/wheel/responses >2022-12-27 07:35:42,480 root INFO copying build/lib/responses/matchers.py -> build/bdist.linux-x86_64/wheel/responses >2022-12-27 07:35:42,480 root INFO creating build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,480 root INFO copying build/lib/responses/tests/test_multithreading.py -> build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,481 root INFO copying build/lib/responses/tests/test_matchers.py -> build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,481 root INFO copying build/lib/responses/tests/__init__.py -> build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,481 root INFO copying build/lib/responses/tests/test_recorder.py -> build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,482 root INFO copying build/lib/responses/tests/test_responses.py -> build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,482 root INFO copying build/lib/responses/tests/test_registries.py -> build/bdist.linux-x86_64/wheel/responses/tests >2022-12-27 07:35:42,482 root INFO copying build/lib/responses/registries.py -> build/bdist.linux-x86_64/wheel/responses >2022-12-27 07:35:42,483 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2022-12-27 07:35:42,483 root INFO running install_egg_info >2022-12-27 07:35:42,527 root INFO Copying responses.egg-info to build/bdist.linux-x86_64/wheel/responses-0.22.0-py3.10.egg-info >2022-12-27 07:35:42,529 root INFO running install_scripts >2022-12-27 07:35:42,561 wheel INFO creating build/bdist.linux-x86_64/wheel/responses-0.22.0.dist-info/WHEEL >2022-12-27 07:35:42,561 wheel INFO creating '/var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/wheel/.tmp-ih9p9nvt/responses-0.22.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it >2022-12-27 07:35:42,562 wheel INFO adding 'responses/__init__.py' >2022-12-27 07:35:42,562 wheel INFO adding 'responses/_recorder.py' >2022-12-27 07:35:42,563 wheel INFO adding 'responses/matchers.py' >2022-12-27 07:35:42,563 wheel INFO adding 'responses/py.typed' >2022-12-27 07:35:42,563 wheel INFO adding 'responses/registries.py' >2022-12-27 07:35:42,564 wheel INFO adding 'responses/tests/__init__.py' >2022-12-27 07:35:42,564 wheel INFO adding 'responses/tests/test_matchers.py' >2022-12-27 07:35:42,564 wheel INFO adding 'responses/tests/test_multithreading.py' >2022-12-27 07:35:42,565 wheel INFO adding 'responses/tests/test_recorder.py' >2022-12-27 07:35:42,565 wheel INFO adding 'responses/tests/test_registries.py' >2022-12-27 07:35:42,565 wheel INFO adding 'responses/tests/test_responses.py' >2022-12-27 07:35:42,566 wheel INFO adding 'responses-0.22.0.dist-info/LICENSE' >2022-12-27 07:35:42,567 wheel INFO adding 'responses-0.22.0.dist-info/METADATA' >2022-12-27 07:35:42,567 wheel INFO adding 'responses-0.22.0.dist-info/WHEEL' >2022-12-27 07:35:42,567 wheel INFO adding 'responses-0.22.0.dist-info/top_level.txt' >2022-12-27 07:35:42,567 wheel INFO adding 'responses-0.22.0.dist-info/RECORD' >2022-12-27 07:35:42,568 wheel INFO removing build/bdist.linux-x86_64/wheel >2022-12-27 07:35:42,569 gpep517 INFO The backend produced /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/wheel/responses-0.22.0-py3-none-any.whl > * Installing responses-0.22.0-py3-none-any.whl to /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/install >gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/install --interpreter=/usr/bin/python3.10 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/wheel/responses-0.22.0-py3-none-any.whl >2022-12-27 07:35:42,708 gpep517 INFO Installing /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/wheel/responses-0.22.0-py3-none-any.whl into /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/install >2022-12-27 07:35:42,847 gpep517 INFO Installation complete > * python3_10: running distutils-r1_run_phase python_test >python3.10 -m pytest -vv -ra -l -Wdefault --color=no -o console_output_style=count -p no:cov -p no:flake8 -p no:flakes -p no:pylint -p no:markdown -p no:sugar -p no:xvfb -p no:tavern >============================================================= test session starts ============================================================= >platform linux -- Python 3.10.9, pytest-7.2.0, pluggy-1.0.0 -- /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0-python3_10/install/usr/bin/python3.10 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0 >plugins: asyncio-0.20.3, betamax-0.8.1, flaky-3.7.0, timeout-2.1.0, xprocess-0.20.0, aiohttp-1.0.4, mock-3.10.0, expect-1.1.0, pkgcore-0.12.17, shutil-1.7.0, hypothesis-6.59.0, requests-mock-1.10.0, virtualenv-1.7.0, pyfakefs-5.0.0, httpserver-1.0.6, trio-0.8.0, httpbin-1.0.2, django-4.5.2, freezegun-0.4.2, subtests-0.9.0, anyio-3.6.1, xdist-3.0.2, services-2.2.1, forked-1.4.0, localserver-0.7.0, codeblocks-0.16.1, rerunfailures-10.3 >asyncio: mode=strict >collecting ... collected 195 items > >responses/tests/test_matchers.py::test_query_string_matcher PASSED [ 1/195] >responses/tests/test_matchers.py::test_request_matches_post_params PASSED [ 2/195] >responses/tests/test_matchers.py::test_json_params_matcher_not_strict PASSED [ 3/195] >responses/tests/test_matchers.py::test_json_params_matcher_not_strict_diff_values PASSED [ 4/195] >responses/tests/test_matchers.py::test_json_params_matcher_json_list PASSED [ 5/195] >responses/tests/test_matchers.py::test_json_params_matcher_json_list_empty PASSED [ 6/195] >responses/tests/test_matchers.py::test_urlencoded_params_matcher_blank PASSED [ 7/195] >responses/tests/test_matchers.py::test_query_params_numbers PASSED [ 8/195] >responses/tests/test_matchers.py::test_query_param_matcher_loose PASSED [ 9/195] >responses/tests/test_matchers.py::test_query_param_matcher_loose_fail PASSED [ 10/195] >responses/tests/test_matchers.py::test_request_matches_empty_body PASSED [ 11/195] >responses/tests/test_matchers.py::test_request_matches_params PASSED [ 12/195] >responses/tests/test_matchers.py::test_fail_matchers_error PASSED [ 13/195] >responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!0] PASSED [ 14/195] >responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!1] PASSED [ 15/195] >responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!2] PASSED [ 16/195] >responses/tests/test_matchers.py::test_multipart_matcher[Old World!-Old World!3] PASSED [ 17/195] >responses/tests/test_matchers.py::test_multipart_matcher[\xacHello World!-\xacHello World!] PASSED [ 18/195] >responses/tests/test_matchers.py::test_multipart_matcher_fail PASSED [ 19/195] >responses/tests/test_matchers.py::test_query_string_matcher_raises PASSED [ 20/195] >responses/tests/test_matchers.py::test_request_matches_headers PASSED [ 21/195] >responses/tests/test_matchers.py::test_request_matches_headers_no_match PASSED [ 22/195] >responses/tests/test_matchers.py::test_request_matches_headers_strict_match PASSED [ 23/195] >responses/tests/test_matchers.py::test_fragment_identifier_matcher PASSED [ 24/195] >responses/tests/test_matchers.py::test_fragment_identifier_matcher_error PASSED [ 25/195] >responses/tests/test_matchers.py::test_fragment_identifier_matcher_and_match_querystring PASSED [ 26/195] >responses/tests/test_matchers.py::test_matchers_create_key_val_str PASSED [ 27/195] >responses/tests/test_multithreading.py::test_multithreading_lock[0] PASSED [ 28/195] >responses/tests/test_multithreading.py::test_multithreading_lock[1] PASSED [ 29/195] >responses/tests/test_multithreading.py::test_multithreading_lock[2] PASSED [ 30/195] >responses/tests/test_multithreading.py::test_multithreading_lock[3] PASSED [ 31/195] >responses/tests/test_multithreading.py::test_multithreading_lock[4] PASSED [ 32/195] >responses/tests/test_multithreading.py::test_multithreading_lock[5] PASSED [ 33/195] >responses/tests/test_multithreading.py::test_multithreading_lock[6] PASSED [ 34/195] >responses/tests/test_multithreading.py::test_multithreading_lock[7] PASSED [ 35/195] >responses/tests/test_multithreading.py::test_multithreading_lock[8] PASSED [ 36/195] >responses/tests/test_multithreading.py::test_multithreading_lock[9] PASSED [ 37/195] >responses/tests/test_recorder.py::TestRecord::test_recorder FAILED [ 38/195] >responses/tests/test_recorder.py::TestReplay::test_add_from_file PASSED [ 39/195] >responses/tests/test_registries.py::test_set_registry_not_empty PASSED [ 40/195] >responses/tests/test_registries.py::test_set_registry PASSED [ 41/195] >responses/tests/test_registries.py::test_set_registry_reversed PASSED [ 42/195] >responses/tests/test_registries.py::test_registry_async SKIPPED (async def function and no async plugin installed (see warnings)) [ 43/195] >responses/tests/test_registries.py::test_set_registry_context_manager PASSED [ 44/195] >responses/tests/test_registries.py::test_registry_reset PASSED [ 45/195] >responses/tests/test_registries.py::TestOrderedRegistry::test_invocation_index PASSED [ 46/195] >responses/tests/test_registries.py::TestOrderedRegistry::test_not_match PASSED [ 47/195] >responses/tests/test_registries.py::TestOrderedRegistry::test_empty_registry PASSED [ 48/195] >responses/tests/test_responses.py::test_response PASSED [ 49/195] >responses/tests/test_responses.py::test_response_encoded PASSED [ 50/195] >responses/tests/test_responses.py::test_response_with_instance PASSED [ 51/195] >responses/tests/test_responses.py::test_replace[http://example.com/two-http://example.com/two] PASSED [ 52/195] >responses/tests/test_responses.py::test_replace[original1-replacement1] PASSED [ 53/195] >responses/tests/test_responses.py::test_replace[http://example\\.com/two-http://example\\.com/two] PASSED [ 54/195] >responses/tests/test_responses.py::test_replace_error[http://example.com/one-http://example\\.com/one] PASSED [ 55/195] >responses/tests/test_responses.py::test_replace_error[http://example\\.com/one-http://example.com/one] PASSED [ 56/195] >responses/tests/test_responses.py::test_replace_response_object_error PASSED [ 57/195] >responses/tests/test_responses.py::test_upsert_replace[http://example.com/two-http://example.com/two] PASSED [ 58/195] >responses/tests/test_responses.py::test_upsert_replace[original1-replacement1] PASSED [ 59/195] >responses/tests/test_responses.py::test_upsert_replace[http://example\\.com/two-http://example\\.com/two] PASSED [ 60/195] >responses/tests/test_responses.py::test_upsert_add[http://example.com/two-http://example.com/two] PASSED [ 61/195] >responses/tests/test_responses.py::test_upsert_add[original1-replacement1] PASSED [ 62/195] >responses/tests/test_responses.py::test_upsert_add[http://example\\.com/two-http://example\\.com/two] PASSED [ 63/195] >responses/tests/test_responses.py::test_remove PASSED [ 64/195] >responses/tests/test_responses.py::test_response_equality[args10-kwargs10-args20-kwargs20-True] PASSED [ 65/195] >responses/tests/test_responses.py::test_response_equality[args11-kwargs11-args21-kwargs21-False] PASSED [ 66/195] >responses/tests/test_responses.py::test_response_equality[args12-kwargs12-args22-kwargs22-False] PASSED [ 67/195] >responses/tests/test_responses.py::test_response_equality[args13-kwargs13-args23-kwargs23-True] PASSED [ 68/195] >responses/tests/test_responses.py::test_response_equality_different_objects PASSED [ 69/195] >responses/tests/test_responses.py::test_connection_error PASSED [ 70/195] >responses/tests/test_responses.py::test_match_querystring PASSED [ 71/195] >responses/tests/test_responses.py::test_match_querystring_empty PASSED [ 72/195] >responses/tests/test_responses.py::test_match_querystring_error PASSED [ 73/195] >responses/tests/test_responses.py::test_match_querystring_regex PASSED [ 74/195] >responses/tests/test_responses.py::test_match_querystring_error_regex PASSED [ 75/195] >responses/tests/test_responses.py::test_match_querystring_auto_activates PASSED [ 76/195] >responses/tests/test_responses.py::test_match_querystring_missing_key PASSED [ 77/195] >responses/tests/test_responses.py::test_accept_string_body PASSED [ 78/195] >responses/tests/test_responses.py::test_accept_json_body PASSED [ 79/195] >responses/tests/test_responses.py::test_no_content_type PASSED [ 80/195] >responses/tests/test_responses.py::test_arbitrary_status_code PASSED [ 81/195] >responses/tests/test_responses.py::test_throw_connection_error_explicit PASSED [ 82/195] >responses/tests/test_responses.py::test_callback PASSED [ 83/195] >responses/tests/test_responses.py::test_deprecated_package_attributes PASSED [ 84/195] >responses/tests/test_responses.py::test_callback_deprecated_stream_argument PASSED [ 85/195] >responses/tests/test_responses.py::test_callback_deprecated_match_querystring_argument PASSED [ 86/195] >responses/tests/test_responses.py::test_callback_match_querystring_default_false PASSED [ 87/195] >responses/tests/test_responses.py::test_callback_exception_result PASSED [ 88/195] >responses/tests/test_responses.py::test_callback_exception_body PASSED [ 89/195] >responses/tests/test_responses.py::test_callback_no_content_type PASSED [ 90/195] >responses/tests/test_responses.py::test_callback_content_type_dict PASSED [ 91/195] >responses/tests/test_responses.py::test_callback_matchers PASSED [ 92/195] >responses/tests/test_responses.py::test_callback_matchers_fail PASSED [ 93/195] >responses/tests/test_responses.py::test_callback_content_type_tuple PASSED [ 94/195] >responses/tests/test_responses.py::test_regular_expression_url PASSED [ 95/195] >responses/tests/test_responses.py::test_base_response_get_response PASSED [ 96/195] >responses/tests/test_responses.py::test_custom_adapter PASSED [ 97/195] >responses/tests/test_responses.py::test_responses_as_context_manager PASSED [ 98/195] >responses/tests/test_responses.py::test_activate_doesnt_change_signature PASSED [ 99/195] >responses/tests/test_responses.py::TestFixtures::test_function PASSED [100/195] >responses/tests/test_responses.py::TestFixtures::test_function_decorated PASSED [101/195] >responses/tests/test_responses.py::test_activate_mock_interaction PASSED [102/195] >responses/tests/test_responses.py::test_activate_doesnt_change_signature_with_return_type PASSED [103/195] >responses/tests/test_responses.py::test_activate_doesnt_change_signature_for_method PASSED [104/195] >responses/tests/test_responses.py::test_response_cookies PASSED [105/195] >responses/tests/test_responses.py::test_response_cookies_secure PASSED [106/195] >responses/tests/test_responses.py::test_response_cookies_multiple PASSED [107/195] >responses/tests/test_responses.py::test_response_cookies_session[True-True] PASSED [108/195] >responses/tests/test_responses.py::test_response_cookies_session[True-False] PASSED [109/195] >responses/tests/test_responses.py::test_response_cookies_session[True-None] PASSED [110/195] >responses/tests/test_responses.py::test_response_cookies_session[False-True] PASSED [111/195] >responses/tests/test_responses.py::test_response_cookies_session[False-False] PASSED [112/195] >responses/tests/test_responses.py::test_response_cookies_session[False-None] PASSED [113/195] >responses/tests/test_responses.py::test_response_cookies_session[None-True] PASSED [114/195] >responses/tests/test_responses.py::test_response_cookies_session[None-False] PASSED [115/195] >responses/tests/test_responses.py::test_response_cookies_session[None-None] PASSED [116/195] >responses/tests/test_responses.py::test_response_callback PASSED [117/195] >responses/tests/test_responses.py::test_response_filebody PASSED [118/195] >responses/tests/test_responses.py::test_use_stream_twice_to_double_raw_io PASSED [119/195] >responses/tests/test_responses.py::test_assert_all_requests_are_fired PASSED [120/195] >responses/tests/test_responses.py::test_allow_redirects_samehost PASSED [121/195] >responses/tests/test_responses.py::test_path_segments PASSED [122/195] >responses/tests/test_responses.py::test_handles_unicode_querystring PASSED [123/195] >responses/tests/test_responses.py::test_handles_unicode_url PASSED [124/195] >responses/tests/test_responses.py::test_handles_unicode_body PASSED [125/195] >responses/tests/test_responses.py::test_handles_buffered_reader_body PASSED [126/195] >responses/tests/test_responses.py::test_headers PASSED [127/195] >responses/tests/test_responses.py::test_content_length_error PASSED [128/195] >responses/tests/test_responses.py::test_stream_with_none_chunk_size PASSED [129/195] >responses/tests/test_responses.py::test_legacy_adding_headers PASSED [130/195] >responses/tests/test_responses.py::test_legacy_adding_headers_with_content_type PASSED [131/195] >responses/tests/test_responses.py::test_auto_calculate_content_length_string_body PASSED [132/195] >responses/tests/test_responses.py::test_auto_calculate_content_length_bytes_body PASSED [133/195] >responses/tests/test_responses.py::test_auto_calculate_content_length_json_body PASSED [134/195] >responses/tests/test_responses.py::test_auto_calculate_content_length_unicode_body PASSED [135/195] >responses/tests/test_responses.py::test_auto_calculate_content_length_doesnt_work_for_buffered_reader_body PASSED [136/195] >responses/tests/test_responses.py::test_auto_calculate_content_length_doesnt_override_existing_value PASSED [137/195] >responses/tests/test_responses.py::test_multiple_responses PASSED [138/195] >responses/tests/test_responses.py::test_multiple_responses_intermixed PASSED [139/195] >responses/tests/test_responses.py::test_multiple_urls PASSED [140/195] >responses/tests/test_responses.py::test_multiple_methods PASSED [141/195] >responses/tests/test_responses.py::test_passthrough_flag FAILED [142/195] >responses/tests/test_responses.py::test_passthrough_kwarg FAILED [143/195] >responses/tests/test_responses.py::test_passthrough_response FAILED [144/195] >responses/tests/test_responses.py::test_passthrough_response_stream FAILED [145/195] >responses/tests/test_responses.py::test_passthru_prefixes FAILED [146/195] >responses/tests/test_responses.py::test_passthru FAILED [147/195] >responses/tests/test_responses.py::test_passthru_regex FAILED [148/195] >responses/tests/test_responses.py::test_passthru_does_not_persist_across_tests FAILED [149/195] >responses/tests/test_responses.py::test_method_named_param PASSED [150/195] >responses/tests/test_responses.py::test_passthru_unicode PASSED [151/195] >responses/tests/test_responses.py::test_custom_target PASSED [152/195] >responses/tests/test_responses.py::test_request_param[http://example.com] PASSED [153/195] >responses/tests/test_responses.py::test_request_param[http://example.com/some/path] PASSED [154/195] >responses/tests/test_responses.py::test_request_param[http://example.com/other/path/] PASSED [155/195] >responses/tests/test_responses.py::test_request_param_with_multiple_values_for_the_same_key PASSED [156/195] >responses/tests/test_responses.py::test_assert_call_count[http://example.com] PASSED [157/195] >responses/tests/test_responses.py::test_assert_call_count[http://example.com?hello=world] PASSED [158/195] >responses/tests/test_responses.py::test_call_count_with_matcher PASSED [159/195] >responses/tests/test_responses.py::test_call_count_without_matcher PASSED [160/195] >responses/tests/test_responses.py::test_fail_request_error PASSED [161/195] >responses/tests/test_responses.py::test_response_representations[response_params0-<Response(url='http://example.com/' status=200 content_type='text/plain' headers='null')>] PASSED [162/195] >responses/tests/test_responses.py::test_response_representations[response_params1-<Response(url='http://another-domain.com/' status=404 content_type='application/json' headers='null')>] PASSED [163/195] >responses/tests/test_responses.py::test_response_representations[response_params2-<Response(url='http://abcd.com/' status=500 content_type='text/html' headers='{"X-Test": "foo"}')>] PASSED [164/195] >responses/tests/test_responses.py::test_mocked_responses_list_registered PASSED [165/195] >responses/tests/test_responses.py::test_rfc_compliance[http://service-A/foo?q=fizz-http://service-a/foo?q=fizz] PASSED [166/195] >responses/tests/test_responses.py::test_rfc_compliance[http://service-a/foo-http://service-A/foo] PASSED [167/195] >responses/tests/test_responses.py::test_rfc_compliance[http://someHost-AwAy/-http://somehost-away/] PASSED [168/195] >responses/tests/test_responses.py::test_rfc_compliance[http://fizzbuzz/foo-http://fizzbuzz/foo] PASSED [169/195] >responses/tests/test_responses.py::test_requests_between_add PASSED [170/195] >responses/tests/test_responses.py::test_responses_reuse PASSED [171/195] >responses/tests/test_responses.py::test_async_calls SKIPPED (async def function and no async plugin installed (see warnings)) [172/195] >responses/tests/test_responses.py::TestStrictWrapper::test_strict_wrapper PASSED [173/195] >responses/tests/test_responses.py::TestStrictWrapper::test_nested_decorators[True] PASSED [174/195] >responses/tests/test_responses.py::TestStrictWrapper::test_nested_decorators[False] PASSED [175/195] >responses/tests/test_responses.py::TestStrictWrapper::test_nested_decorators[None] PASSED [176/195] >responses/tests/test_responses.py::TestMultipleWrappers::test_wrapped PASSED [177/195] >responses/tests/test_responses.py::TestMultipleWrappers::test_call_another_wrapped_function PASSED [178/195] >responses/tests/test_responses.py::TestMultipleWrappers::test_mock_not_leaked FAILED [179/195] >responses/tests/test_responses.py::TestShortcuts::test_delete PASSED [180/195] >responses/tests/test_responses.py::TestShortcuts::test_get PASSED [181/195] >responses/tests/test_responses.py::TestShortcuts::test_head PASSED [182/195] >responses/tests/test_responses.py::TestShortcuts::test_options PASSED [183/195] >responses/tests/test_responses.py::TestShortcuts::test_patch PASSED [184/195] >responses/tests/test_responses.py::TestShortcuts::test_post PASSED [185/195] >responses/tests/test_responses.py::TestShortcuts::test_put PASSED [186/195] >responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function PASSED [187/195] >responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function PASSED [188/195] >responses/tests/test_responses.py::test_reset_in_the_middle PASSED [189/195] >responses/tests/test_responses.py::test_redirect PASSED [190/195] >responses/tests/test_responses.py::TestMaxRetry::test_max_retries PASSED [191/195] >responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed[True] PASSED [192/195] >responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed[False] PASSED [193/195] >responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed_msg PASSED [194/195] >responses/tests/test_responses.py::TestMaxRetry::test_adapter_retry_untouched PASSED [195/195] > >================================================================== FAILURES =================================================================== >__________________________________________________________ TestRecord.test_recorder ___________________________________________________________ > >self = <responses.tests.test_recorder.TestRecord object at 0x7fc3003c2680> >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_recorder(self, httpserver): > >> httpserver.expect_request("/500").respond_with_data( > "500 Internal Server Error", status=500, content_type="text/plain" > ) >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> >self = <responses.tests.test_recorder.TestRecord object at 0x7fc3003c2680> > >responses/tests/test_recorder.py:69: AttributeError >____________________________________________________________ test_passthrough_flag ____________________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthrough_flag(httpserver): >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1569: AttributeError >___________________________________________________________ test_passthrough_kwarg ____________________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthrough_kwarg(httpserver): >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1595: AttributeError >__________________________________________________________ test_passthrough_response __________________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthrough_response(httpserver): >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1621: AttributeError >______________________________________________________ test_passthrough_response_stream _______________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthrough_response_stream(httpserver): >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1645: AttributeError >___________________________________________________________ test_passthru_prefixes ____________________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthru_prefixes(httpserver): >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1661: AttributeError >________________________________________________________________ test_passthru ________________________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthru(httpserver): >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1684: AttributeError >_____________________________________________________________ test_passthru_regex _____________________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthru_regex(httpserver): >> httpserver.expect_request(re.compile("^/\\w+")).respond_with_data( > "OK", content_type="text/plain" > ) >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1705: AttributeError >_________________________________________________ test_passthru_does_not_persist_across_tests _________________________________________________ > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_passthru_does_not_persist_across_tests(httpserver): > """ > passthru should be erased on exit from context manager > see: > https://github.com/getsentry/responses/issues/322 > """ >> httpserver.expect_request("/").respond_with_data("OK", content_type="text/plain") >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > >responses/tests/test_responses.py:1735: AttributeError >__________________________________________________ TestMultipleWrappers.test_mock_not_leaked __________________________________________________ > >self = <responses.tests.test_responses.TestMultipleWrappers object at 0x7fc300bd2020> >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> > > def test_mock_not_leaked(self, httpserver): > """ > Validate that ``responses.activate`` does not leak to unpatched test. > > Parameters > ---------- > httpserver : ContentServer > Mock real HTTP server > > """ >> httpserver.expect_request("/").respond_with_data( > "OK", content_type="text/plain", status=969 > ) >E AttributeError: 'ContentServer' object has no attribute 'expect_request' > >httpserver = <ContentServer(<class 'pytest_localserver.http.ContentServer'>, started 140474874582720)> >self = <responses.tests.test_responses.TestMultipleWrappers object at 0x7fc300bd2020> > >responses/tests/test_responses.py:2194: AttributeError >============================================================== warnings summary =============================================================== >responses/tests/test_matchers.py: 2 warnings >responses/tests/test_responses.py: 8 warnings > /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0/responses/__init__.py:408: DeprecationWarning: Argument 'match_querystring' is deprecated. Use 'responses.matchers.query_param_matcher' or 'responses.matchers.query_string_matcher' > warn( > >responses/tests/test_recorder.py::TestRecord::test_recorder > /usr/lib/python3.10/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. > responses/tests/test_recorder.py::TestRecord::test_recorder is using nose-specific method: `setup(self)` > To remove this warning, rename it to `setup_method(self)` > See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > fixture_result = next(generator) > >responses/tests/test_recorder.py::TestReplay::test_add_from_file > /usr/lib/python3.10/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. > responses/tests/test_recorder.py::TestReplay::test_add_from_file is using nose-specific method: `teardown(self)` > To remove this warning, rename it to `teardown_method(self)` > See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > next(it) > >responses/tests/test_registries.py::test_registry_async >responses/tests/test_responses.py::test_async_calls > /usr/lib/python3.10/site-packages/_pytest/python.py:184: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. > You need to install a suitable plugin for your async framework, for example: > - anyio > - pytest-asyncio > - pytest-tornasync > - pytest-trio > - pytest-twisted > warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) > >responses/tests/test_responses.py::test_response_cookies_session[True-True] >responses/tests/test_responses.py::test_response_cookies_session[True-False] >responses/tests/test_responses.py::test_response_cookies_session[True-None] >responses/tests/test_responses.py::test_response_cookies_session[False-True] >responses/tests/test_responses.py::test_response_cookies_session[False-False] >responses/tests/test_responses.py::test_response_cookies_session[False-None] >responses/tests/test_responses.py::test_response_filebody >responses/tests/test_responses.py::test_use_stream_twice_to_double_raw_io > /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0/responses/__init__.py:547: DeprecationWarning: stream argument is deprecated. Use stream parameter in request directly > warn( > >responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function > /usr/lib/python3.10/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. > responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function is using nose-specific method: `setup(self)` > To remove this warning, rename it to `setup_method(self)` > See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > fixture_result = next(generator) > >responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function > /usr/lib/python3.10/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. > responses/tests/test_responses.py::TestUnitTestPatchSetup::test_function is using nose-specific method: `teardown(self)` > To remove this warning, rename it to `teardown_method(self)` > See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > next(it) > >responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function > /usr/lib/python3.10/site-packages/_pytest/fixtures.py:900: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. > responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function is using nose-specific method: `setup(self)` > To remove this warning, rename it to `setup_method(self)` > See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > fixture_result = next(generator) > >responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function > /usr/lib/python3.10/site-packages/_pytest/fixtures.py:916: PytestRemovedIn8Warning: Support for nose tests is deprecated and will be removed in a future release. > responses/tests/test_responses.py::TestUnitTestPatchSetupRaises::test_function is using nose-specific method: `teardown(self)` > To remove this warning, rename it to `teardown_method(self)` > See docs: https://docs.pytest.org/en/stable/deprecations.html#support-for-tests-written-for-nose > next(it) > >responses/tests/test_responses.py::TestMaxRetry::test_max_retries >responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed[True] >responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed[False] >responses/tests/test_responses.py::TestMaxRetry::test_max_retries_exceed_msg >responses/tests/test_responses.py::TestMaxRetry::test_adapter_retry_untouched > /var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0/responses/tests/test_responses.py:2393: DeprecationWarning: Using 'method_whitelist' with Retry is deprecated and will be removed in v2.0. Use 'allowed_methods' instead > max_retries=Retry( > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================================================== short test summary info =========================================================== >SKIPPED [2] ../../../../../../../usr/lib/python3.10/site-packages/_pytest/python.py:185: async def function and no async plugin installed (see warnings) >FAILED responses/tests/test_recorder.py::TestRecord::test_recorder - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthrough_flag - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthrough_kwarg - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthrough_response - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthrough_response_stream - AttributeError: 'ContentServer' object has no attribute 'expect... >FAILED responses/tests/test_responses.py::test_passthru_prefixes - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthru - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthru_regex - AttributeError: 'ContentServer' object has no attribute 'expect_request' >FAILED responses/tests/test_responses.py::test_passthru_does_not_persist_across_tests - AttributeError: 'ContentServer' object has no attrib... >FAILED responses/tests/test_responses.py::TestMultipleWrappers::test_mock_not_leaked - AttributeError: 'ContentServer' object has no attribu... >=========================================== 10 failed, 183 passed, 2 skipped, 31 warnings in 56.29s =========================================== >pytest-xprocess reminder::Be sure to terminate the started process by running 'pytest --xkill' if you have not explicitly done so in your fixture with 'xprocess.getinfo(<process_name>).terminate()'. > * ERROR: dev-python/responses-0.22.0-r1::gentoo failed (test phase): > * pytest failed with python3.10 > * > * Call stack: > * ebuild.sh, line 136: Called src_test > * environment, line 3428: Called distutils-r1_src_test > * environment, line 1649: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 735: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3105: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2649: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2647: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 1074: Called distutils-r1_run_phase 'python_test' > * environment, line 1572: Called python_test > * environment, line 3395: Called distutils-r1_python_test > * environment, line 1522: Called epytest > * environment, line 2154: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/responses-0.22.0-r1::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/responses-0.22.0-r1::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:responses-0.22.0-r1:20221227-123538.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/responses-0.22.0-r1/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/responses-0.22.0-r1/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0' > * S: '/var/tmp/portage/dev-python/responses-0.22.0-r1/work/responses-0.22.0'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 888671
: 845269 |
845271