============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) configfile: setup.cfg asyncio: mode=strict collecting ... collected 532 items ::project PASSED mock/tests/testasync.py::AsyncArguments::test_add_return_value PASSED mock/tests/testasync.py::AsyncArguments::test_add_side_effect_coroutine PASSED mock/tests/testasync.py::AsyncArguments::test_add_side_effect_exception PASSED mock/tests/testasync.py::AsyncArguments::test_add_side_effect_exception_iterable PASSED mock/tests/testasync.py::AsyncArguments::test_add_side_effect_iterable PASSED mock/tests/testasync.py::AsyncArguments::test_add_side_effect_normal_function PASSED mock/tests/testasync.py::AsyncArguments::test_await_args_list_order PASSED mock/tests/testasync.py::AsyncArguments::test_return_value_AsyncMock PASSED mock/tests/testasync.py::AsyncArguments::test_return_value_awaitable PASSED mock/tests/testasync.py::AsyncArguments::test_side_effect_awaitable_values PASSED mock/tests/testasync.py::AsyncArguments::test_side_effect_is_AsyncMock PASSED mock/tests/testasync.py::AsyncArguments::test_wraps_coroutine PASSED mock/tests/testasync.py::AsyncArguments::test_wraps_normal_function PASSED mock/tests/testasync.py::AsyncAutospecTest::test_autospec_checks_signature PASSED mock/tests/testasync.py::AsyncAutospecTest::test_create_autospec PASSED mock/tests/testasync.py::AsyncAutospecTest::test_create_autospec_instance PASSED mock/tests/testasync.py::AsyncAutospecTest::test_is_AsyncMock_patch PASSED mock/tests/testasync.py::AsyncAutospecTest::test_patch_with_autospec PASSED mock/tests/testasync.py::AsyncContextManagerTest::test_context_manager_raise_exception_by_default PASSED mock/tests/testasync.py::AsyncContextManagerTest::test_mock_customize_async_context_manager PASSED mock/tests/testasync.py::AsyncContextManagerTest::test_mock_customize_async_context_manager_with_coroutine PASSED mock/tests/testasync.py::AsyncContextManagerTest::test_mock_supports_async_context_manager PASSED mock/tests/testasync.py::AsyncContextManagerTest::test_set_return_value_of_aenter PASSED mock/tests/testasync.py::AsyncIteratorTest::test_aiter_set_return_value PASSED mock/tests/testasync.py::AsyncIteratorTest::test_mock_aiter_and_anext_asyncmock PASSED mock/tests/testasync.py::AsyncIteratorTest::test_mock_async_for PASSED mock/tests/testasync.py::AsyncMagicMethods::test_async_magic_methods_return_async_mocks PASSED mock/tests/testasync.py::AsyncMagicMethods::test_asyncmock_has_sync_magic_methods PASSED mock/tests/testasync.py::AsyncMagicMethods::test_magic_methods_are_async_functions PASSED mock/tests/testasync.py::AsyncMagicMethods::test_magicmock_has_async_magic_methods PASSED mock/tests/testasync.py::AsyncMagicMethods::test_sync_magic_methods_return_magic_mocks PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_any_wait PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_awaited PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_awaited_but_not_called PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_awaited_once PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_awaited_once_with PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_awaited_with PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_called_and_awaited_at_same_time PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_called_but_not_awaited PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_called_once_and_awaited_twice PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_called_then_awaited PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_called_twice_and_awaited_once PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_has_awaits_no_order PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_has_awaits_not_matching_spec_error PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_has_awaits_ordered PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_has_calls_not_awaits PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_has_mock_calls_on_async_mock_no_spec PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_has_mock_calls_on_async_mock_with_spec PASSED mock/tests/testasync.py::AsyncMockAssert::test_assert_not_awaited PASSED mock/tests/testasync.py::AsyncMockAssert::test_async_arg_lists PASSED mock/tests/testasync.py::AsyncMockAssert::test_async_method_calls_recorded PASSED mock/tests/testasync.py::AsyncMockAssert::test_awaits_asserts_with_any PASSED mock/tests/testasync.py::AsyncMockAssert::test_awaits_asserts_with_spec_and_any PASSED mock/tests/testasync.py::AsyncMockTest::test_future_isfuture PASSED mock/tests/testasync.py::AsyncMockTest::test_isawaitable PASSED mock/tests/testasync.py::AsyncMockTest::test_iscoroutinefunction_default PASSED mock/tests/testasync.py::AsyncMockTest::test_iscoroutinefunction_function PASSED mock/tests/testasync.py::AsyncMockTest::test_iscoroutinefunction_normal_function PASSED mock/tests/testasync.py::AsyncPatchCMTest::test_async_def_cm PASSED mock/tests/testasync.py::AsyncPatchCMTest::test_is_AsyncMock_cm PASSED mock/tests/testasync.py::AsyncPatchCMTest::test_is_async_cm PASSED mock/tests/testasync.py::AsyncPatchCMTest::test_is_async_function_cm PASSED mock/tests/testasync.py::AsyncPatchCMTest::test_patch_dict_async_def PASSED mock/tests/testasync.py::AsyncPatchCMTest::test_patch_dict_async_def_context PASSED mock/tests/testasync.py::AsyncPatchDecoratorTest::test_async_def_patch PASSED mock/tests/testasync.py::AsyncPatchDecoratorTest::test_is_AsyncMock_patch PASSED mock/tests/testasync.py::AsyncPatchDecoratorTest::test_is_AsyncMock_patch_classmethod PASSED mock/tests/testasync.py::AsyncPatchDecoratorTest::test_is_AsyncMock_patch_staticmethod PASSED mock/tests/testasync.py::AsyncPatchDecoratorTest::test_is_async_patch PASSED mock/tests/testasync.py::AsyncPatchDecoratorTest::test_is_coroutine_function_patch PASSED mock/tests/testasync.py::AsyncSpecSetTest::test_is_AsyncMock_patch PASSED mock/tests/testasync.py::AsyncSpecSetTest::test_is_async_AsyncMock PASSED mock/tests/testasync.py::AsyncSpecSetTest::test_is_child_AsyncMock PASSED mock/tests/testasync.py::AsyncSpecSetTest::test_magicmock_lambda_spec PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_as_normal_kw_AsyncMock PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_as_normal_positional_AsyncMock PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_async_attributes PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_async_attributes_instance PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_async_mock PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_mock_type_kw PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_mock_type_positional PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_normal_methods_on_class PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_normal_methods_on_class_with_mock PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_normal_methods_on_class_with_mock_seal PASSED mock/tests/testasync.py::AsyncSpecTest::test_spec_parent_not_async_attribute_is PASSED mock/tests/testasync.py::AsyncSpecTest::test_target_async_spec_not PASSED mock/tests/testasync.py::AsyncSpecTest::test_target_not_async_spec_is PASSED mock/tests/testcallable.py::TestCallable::test_attributes PASSED mock/tests/testcallable.py::TestCallable::test_create_autospec PASSED mock/tests/testcallable.py::TestCallable::test_create_autospec_instance PASSED mock/tests/testcallable.py::TestCallable::test_hierarchy PASSED mock/tests/testcallable.py::TestCallable::test_non_callable PASSED mock/tests/testcallable.py::TestCallable::test_patch_spec PASSED mock/tests/testcallable.py::TestCallable::test_patch_spec_callable_class PASSED mock/tests/testcallable.py::TestCallable::test_patch_spec_instance PASSED mock/tests/testcallable.py::TestCallable::test_patch_spec_set PASSED mock/tests/testcallable.py::TestCallable::test_patch_spec_set_instance PASSED mock/tests/testcallable.py::TestCallable::test_subclasses PASSED mock/tests/testhelpers.py::AnyTest::test_any PASSED mock/tests/testhelpers.py::AnyTest::test_any_and_datetime PASSED mock/tests/testhelpers.py::AnyTest::test_any_and_spec_set PASSED mock/tests/testhelpers.py::AnyTest::test_any_mock_calls_comparison_order PASSED mock/tests/testhelpers.py::AnyTest::test_any_no_spec PASSED mock/tests/testhelpers.py::AnyTest::test_repr PASSED mock/tests/testhelpers.py::CallTest::test_attribute_call PASSED mock/tests/testhelpers.py::CallTest::test_call PASSED mock/tests/testhelpers.py::CallTest::test_call_any PASSED mock/tests/testhelpers.py::CallTest::test_call_list PASSED mock/tests/testhelpers.py::CallTest::test_call_ne PASSED mock/tests/testhelpers.py::CallTest::test_call_non_tuples PASSED mock/tests/testhelpers.py::CallTest::test_call_with_args PASSED mock/tests/testhelpers.py::CallTest::test_call_with_args_call_empty_name PASSED mock/tests/testhelpers.py::CallTest::test_call_with_call PASSED mock/tests/testhelpers.py::CallTest::test_call_with_kwargs PASSED mock/tests/testhelpers.py::CallTest::test_call_with_name PASSED mock/tests/testhelpers.py::CallTest::test_dunder_call PASSED mock/tests/testhelpers.py::CallTest::test_empty__Call PASSED mock/tests/testhelpers.py::CallTest::test_extended_call PASSED mock/tests/testhelpers.py::CallTest::test_extended_not_equal PASSED mock/tests/testhelpers.py::CallTest::test_named_call_with_args PASSED mock/tests/testhelpers.py::CallTest::test_named_call_with_kwargs PASSED mock/tests/testhelpers.py::CallTest::test_named_empty_call PASSED mock/tests/testhelpers.py::CallTest::test_nested_calls_not_equal PASSED mock/tests/testhelpers.py::CallTest::test_repr PASSED mock/tests/testhelpers.py::CallTest::test_two_args_call PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_attributes PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_data_descriptor PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_functions_with_self_in_odd_place PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_getattr_partial_function PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_on_bound_builtin_function PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_reset_mock PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_signature_classmethod PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_autospec_signature_staticmethod PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_basic PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_builtin_functions_types PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_builtins PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_class_with_no_init PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_create_autospec_keyword_arguments PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_create_autospec_keyword_only_arguments PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_create_autospec_none PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_create_autospec_return_value PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_descriptors PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_function PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_function_as_instance_attribute PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_inherit PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_magic_methods PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_method_calls PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_mocking_unbound_methods PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_recursive PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_signature_callable PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_signature_class PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_signature_noncallable PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_skip_attributeerrors PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_as_list PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_function_assert_any_call PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_function_assert_has_calls PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_function_no_name PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_function_reset_mock PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_has_descriptor_returning_function PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_has_function_not_in_bases PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_inheritance_for_classes PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_inspect_signature PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_inspect_signature_annotations PASSED mock/tests/testhelpers.py::SpecSignatureTest::test_spec_set PASSED mock/tests/testhelpers.py::TestCallList::test_args_list_contains_call_list PASSED mock/tests/testhelpers.py::TestCallList::test_call_list_str PASSED mock/tests/testhelpers.py::TestCallList::test_propertymock PASSED mock/tests/testhelpers.py::TestCallList::test_propertymock_bare PASSED mock/tests/testhelpers.py::TestCallList::test_propertymock_returnvalue PASSED mock/tests/testhelpers.py::TestCallList::test_propertymock_side_effect PASSED mock/tests/testhelpers.py::TestCallablePredicate::test_call_magic_method PASSED mock/tests/testhelpers.py::TestCallablePredicate::test_classmethod PASSED mock/tests/testhelpers.py::TestCallablePredicate::test_non_callable_classmethod PASSED mock/tests/testhelpers.py::TestCallablePredicate::test_non_callable_staticmethod PASSED mock/tests/testhelpers.py::TestCallablePredicate::test_staticmethod PASSED mock/tests/testhelpers.py::TestCallablePredicate::test_type PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_asyncmock_defaults PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_attributes_and_return_value PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_bound_methods PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_changing_magic_set_in_initialization PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_comparison PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_deleting_magic_methods PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_descriptor_from_class PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_dict_methods PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_dir PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_division PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_divmod_and_rdivmod PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_equality PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_hash PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_iterable_as_iter_return_value PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_len_contains_iter PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_in_initialization PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_method_reset_mock PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_method_type PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_method_wrapping PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_methods_and_spec PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_methods_and_spec_set PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_methods_are_magic_mocks PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_methods_fspath PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_methods_isolated_between_mocks PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magic_mock_equality PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magicmock PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magicmock_defaults PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_magicmock_del PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_matmul PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_nonzero PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_numeric PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_repr PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_setting_unsupported_magic_method PASSED mock/tests/testmagicmethods.py::TestMockingMagicMethods::test_str PASSED mock/tests/testmock.py::MockTest::test__name__ PASSED mock/tests/testmock.py::MockTest::test_adding_child_mock PASSED mock/tests/testmock.py::MockTest::test_adding_return_value_mock PASSED mock/tests/testmock.py::MockTest::test_all PASSED mock/tests/testmock.py::MockTest::test_arg_lists PASSED mock/tests/testmock.py::MockTest::test_assert_any_call PASSED mock/tests/testmock.py::MockTest::test_assert_any_call_with_function_spec PASSED mock/tests/testmock.py::MockTest::test_assert_called PASSED mock/tests/testmock.py::MockTest::test_assert_called_exception_message PASSED mock/tests/testmock.py::MockTest::test_assert_called_once PASSED mock/tests/testmock.py::MockTest::test_assert_called_once_message PASSED mock/tests/testmock.py::MockTest::test_assert_called_once_message_not_called PASSED mock/tests/testmock.py::MockTest::test_assert_called_once_with PASSED mock/tests/testmock.py::MockTest::test_assert_called_once_with_call_list PASSED mock/tests/testmock.py::MockTest::test_assert_called_once_with_function_spec PASSED mock/tests/testmock.py::MockTest::test_assert_called_once_with_message PASSED mock/tests/testmock.py::MockTest::test_assert_called_with PASSED mock/tests/testmock.py::MockTest::test_assert_called_with_any PASSED mock/tests/testmock.py::MockTest::test_assert_called_with_failure_message PASSED mock/tests/testmock.py::MockTest::test_assert_called_with_function_spec PASSED mock/tests/testmock.py::MockTest::test_assert_called_with_message PASSED mock/tests/testmock.py::MockTest::test_assert_called_with_method_spec PASSED mock/tests/testmock.py::MockTest::test_assert_has_calls PASSED mock/tests/testmock.py::MockTest::test_assert_has_calls_any_order PASSED mock/tests/testmock.py::MockTest::test_assert_has_calls_nested_spec PASSED mock/tests/testmock.py::MockTest::test_assert_has_calls_nested_without_spec PASSED mock/tests/testmock.py::MockTest::test_assert_has_calls_not_matching_spec_error PASSED mock/tests/testmock.py::MockTest::test_assert_has_calls_with_function_spec PASSED mock/tests/testmock.py::MockTest::test_assert_not_called PASSED mock/tests/testmock.py::MockTest::test_assert_not_called_message PASSED mock/tests/testmock.py::MockTest::test_attach_mock PASSED mock/tests/testmock.py::MockTest::test_attach_mock_patch_autospec PASSED mock/tests/testmock.py::MockTest::test_attach_mock_patch_autospec_signature PASSED mock/tests/testmock.py::MockTest::test_attach_mock_return_value PASSED mock/tests/testmock.py::MockTest::test_attribute_access_returns_mocks PASSED mock/tests/testmock.py::MockTest::test_attribute_deletion PASSED mock/tests/testmock.py::MockTest::test_attributes_have_name_and_parent_set PASSED mock/tests/testmock.py::MockTest::test_autospec_mock PASSED mock/tests/testmock.py::MockTest::test_autospec_side_effect PASSED mock/tests/testmock.py::MockTest::test_autospec_side_effect_exception PASSED mock/tests/testmock.py::MockTest::test_baseexceptional_side_effect PASSED mock/tests/testmock.py::MockTest::test_bool_not_called_when_passing_spec_arg PASSED mock/tests/testmock.py::MockTest::test_call PASSED mock/tests/testmock.py::MockTest::test_call_args_comparison PASSED mock/tests/testmock.py::MockTest::test_call_args_two_tuple PASSED mock/tests/testmock.py::MockTest::test_calls_equal_with_any PASSED mock/tests/testmock.py::MockTest::test_change_return_value_via_delegate PASSED mock/tests/testmock.py::MockTest::test_change_side_effect_via_delegate PASSED mock/tests/testmock.py::MockTest::test_child_mock_call_equal PASSED mock/tests/testmock.py::MockTest::test_class_assignable PASSED mock/tests/testmock.py::MockTest::test_configure_mock PASSED mock/tests/testmock.py::MockTest::test_constructor PASSED mock/tests/testmock.py::MockTest::test_copy PASSED mock/tests/testmock.py::MockTest::test_create_autospec_classmethod_and_staticmethod PASSED mock/tests/testmock.py::MockTest::test_create_autospec_with_name PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_return_value PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_return_value_and_side_effect PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_return_value_and_side_effect2 PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_return_value_and_side_effect_default PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_side_effect_exception PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_side_effect_function PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_side_effect_iterable PASSED mock/tests/testmock.py::MockTest::test_customize_wrapped_object_with_side_effect_iterable_with_default PASSED mock/tests/testmock.py::MockTest::test_decorated_async_methods_with_spec_mock PASSED mock/tests/testmock.py::MockTest::test_dir PASSED mock/tests/testmock.py::MockTest::test_dir_does_not_include_deleted_attributes PASSED mock/tests/testmock.py::MockTest::test_dir_from_spec PASSED mock/tests/testmock.py::MockTest::test_exceptional_side_effect PASSED mock/tests/testmock.py::MockTest::test_explicit_parent PASSED mock/tests/testmock.py::MockTest::test_filter_dir PASSED mock/tests/testmock.py::MockTest::test_from_spec PASSED mock/tests/testmock.py::MockTest::test_isinstance_under_settrace PASSED mock/tests/testmock.py::MockTest::test_magic_method_wraps_class PASSED mock/tests/testmock.py::MockTest::test_magic_method_wraps_dict PASSED mock/tests/testmock.py::MockTest::test_magic_methods_mock_calls PASSED mock/tests/testmock.py::MockTest::test_manager_mock PASSED mock/tests/testmock.py::MockTest::test_method_calls_compare_easily PASSED mock/tests/testmock.py::MockTest::test_method_calls_recorded PASSED mock/tests/testmock.py::MockTest::test_misspelled_arguments PASSED mock/tests/testmock.py::MockTest::test_mock_add_spec PASSED mock/tests/testmock.py::MockTest::test_mock_add_spec_magic_methods PASSED mock/tests/testmock.py::MockTest::test_mock_call_not_equal_leaf PASSED mock/tests/testmock.py::MockTest::test_mock_call_not_equal_non_leaf PASSED mock/tests/testmock.py::MockTest::test_mock_call_not_equal_non_leaf_attr PASSED mock/tests/testmock.py::MockTest::test_mock_call_not_equal_non_leaf_call_versus_attr PASSED mock/tests/testmock.py::MockTest::test_mock_call_not_equal_non_leaf_params_different PASSED mock/tests/testmock.py::MockTest::test_mock_call_repr PASSED mock/tests/testmock.py::MockTest::test_mock_call_repr_loop PASSED mock/tests/testmock.py::MockTest::test_mock_calls PASSED mock/tests/testmock.py::MockTest::test_mock_calls_contains PASSED mock/tests/testmock.py::MockTest::test_mock_calls_create_autospec PASSED mock/tests/testmock.py::MockTest::test_mock_does_not_raise_on_repeated_attribute_deletion PASSED mock/tests/testmock.py::MockTest::test_mock_open_after_eof PASSED mock/tests/testmock.py::MockTest::test_mock_open_alter_readline PASSED mock/tests/testmock.py::MockTest::test_mock_open_dunder_iter_issue PASSED mock/tests/testmock.py::MockTest::test_mock_open_next_with_readline_with_return_value PASSED mock/tests/testmock.py::MockTest::test_mock_open_reuse_issue_21750 PASSED mock/tests/testmock.py::MockTest::test_mock_open_using_next PASSED mock/tests/testmock.py::MockTest::test_mock_open_write PASSED mock/tests/testmock.py::MockTest::test_mock_parents PASSED mock/tests/testmock.py::MockTest::test_mock_raises_when_deleting_nonexistent_attribute PASSED mock/tests/testmock.py::MockTest::test_mock_safe_with_spec PASSED mock/tests/testmock.py::MockTest::test_mock_unsafe PASSED mock/tests/testmock.py::MockTest::test_name_attribute_of_call PASSED mock/tests/testmock.py::MockTest::test_only_allowed_methods_exist PASSED mock/tests/testmock.py::MockTest::test_ordered_call_signature PASSED mock/tests/testmock.py::MockTest::test_override_tuple_methods PASSED mock/tests/testmock.py::MockTest::test_parent_attribute_of_call PASSED mock/tests/testmock.py::MockTest::test_parent_propagation_with_autospec_attach_mock PASSED mock/tests/testmock.py::MockTest::test_parent_propagation_with_create_autospec PASSED mock/tests/testmock.py::MockTest::test_property_not_called_with_spec_mock PASSED mock/tests/testmock.py::MockTest::test_repr PASSED mock/tests/testmock.py::MockTest::test_repr_with_spec PASSED mock/tests/testmock.py::MockTest::test_reset_mock PASSED mock/tests/testmock.py::MockTest::test_reset_mock_does_not_raise_on_attr_deletion PASSED mock/tests/testmock.py::MockTest::test_reset_mock_on_mock_open_issue_18622 PASSED mock/tests/testmock.py::MockTest::test_reset_mock_recursion PASSED mock/tests/testmock.py::MockTest::test_reset_return PASSED mock/tests/testmock.py::MockTest::test_reset_return_sideeffect PASSED mock/tests/testmock.py::MockTest::test_reset_return_with_children PASSED mock/tests/testmock.py::MockTest::test_reset_return_with_children_side_effect PASSED mock/tests/testmock.py::MockTest::test_reset_sideeffect PASSED mock/tests/testmock.py::MockTest::test_return_value_in_constructor PASSED mock/tests/testmock.py::MockTest::test_setting_attribute_with_spec_set PASSED mock/tests/testmock.py::MockTest::test_setting_call PASSED mock/tests/testmock.py::MockTest::test_side_effect PASSED mock/tests/testmock.py::MockTest::test_side_effect_iterator PASSED mock/tests/testmock.py::MockTest::test_side_effect_iterator_default PASSED mock/tests/testmock.py::MockTest::test_side_effect_iterator_exceptions PASSED mock/tests/testmock.py::MockTest::test_side_effect_setting_iterator PASSED mock/tests/testmock.py::MockTest::test_spec_class PASSED mock/tests/testmock.py::MockTest::test_spec_class_no_object_base PASSED mock/tests/testmock.py::MockTest::test_spec_list_subclass PASSED mock/tests/testmock.py::MockTest::test_subclass_with_properties PASSED mock/tests/testmock.py::MockTest::test_subclassing PASSED mock/tests/testmock.py::MockTest::test_wraps_attributes PASSED mock/tests/testmock.py::MockTest::test_wraps_call_with_nondefault_return_value PASSED mock/tests/testmock.py::MockTest::test_wraps_calls PASSED mock/tests/testmock.py::MockTest::test_wraps_prevents_automatic_creation_of_mocks PASSED mock/tests/testpatch.py::PatchTest::test_autospec PASSED mock/tests/testpatch.py::PatchTest::test_autospec_classmethod PASSED mock/tests/testpatch.py::PatchTest::test_autospec_classmethod_signature PASSED mock/tests/testpatch.py::PatchTest::test_autospec_function PASSED mock/tests/testpatch.py::PatchTest::test_autospec_inherits PASSED mock/tests/testpatch.py::PatchTest::test_autospec_keywords PASSED mock/tests/testpatch.py::PatchTest::test_autospec_name PASSED mock/tests/testpatch.py::PatchTest::test_autospec_staticmethod PASSED mock/tests/testpatch.py::PatchTest::test_autospec_staticmethod_signature PASSED mock/tests/testpatch.py::PatchTest::test_autospec_with_new PASSED mock/tests/testpatch.py::PatchTest::test_autospec_with_object PASSED mock/tests/testpatch.py::PatchTest::test_callable_spec_as_list PASSED mock/tests/testpatch.py::PatchTest::test_cant_set_kwargs_when_passing_a_mock PASSED mock/tests/testpatch.py::PatchTest::test_create_and_specs PASSED mock/tests/testpatch.py::PatchTest::test_dotted_but_module_not_loaded PASSED mock/tests/testpatch.py::PatchTest::test_falsey_spec PASSED mock/tests/testpatch.py::PatchTest::test_get_only_proxy PASSED mock/tests/testpatch.py::PatchTest::test_get_set_delete_proxy PASSED mock/tests/testpatch.py::PatchTest::test_invalid_target PASSED mock/tests/testpatch.py::PatchTest::test_mock_calls_with_patch PASSED mock/tests/testpatch.py::PatchTest::test_multiple_patchobject PASSED mock/tests/testpatch.py::PatchTest::test_multiple_specs PASSED mock/tests/testpatch.py::PatchTest::test_name_preserved PASSED mock/tests/testpatch.py::PatchTest::test_nested_patch_failure PASSED mock/tests/testpatch.py::PatchTest::test_nested_patch_with_spec_as_list PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_class_decorating PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_create PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_failure PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_incompatible_with_autospec PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_incompatible_with_new PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_inherit_for_mocks PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_inherit_non_mock PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_keyword_arguments PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_patch PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_patch_object PASSED mock/tests/testpatch.py::PatchTest::test_new_callable_spec PASSED mock/tests/testpatch.py::PatchTest::test_not_callable_spec_as_list PASSED mock/tests/testpatch.py::PatchTest::test_object_lookup_is_quite_lazy PASSED mock/tests/testpatch.py::PatchTest::test_patch PASSED mock/tests/testpatch.py::PatchTest::test_patch_and_patch_dict_stopall PASSED mock/tests/testpatch.py::PatchTest::test_patch_builtins_without_create PASSED mock/tests/testpatch.py::PatchTest::test_patch_class_acts_with_spec_is_inherited PASSED mock/tests/testpatch.py::PatchTest::test_patch_class_attribute PASSED mock/tests/testpatch.py::PatchTest::test_patch_class_decorator PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_as_context_manager PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_class_decorator PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_decorator_resolution PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_keyword_args PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_start_stop PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_stop_without_start PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_stopall PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_test_prefix PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_with_clear PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_with_container_object PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_with_container_object_and_clear PASSED mock/tests/testpatch.py::PatchTest::test_patch_dict_with_string PASSED mock/tests/testpatch.py::PatchTest::test_patch_imports_lazily PASSED mock/tests/testpatch.py::PatchTest::test_patch_keyword_args PASSED mock/tests/testpatch.py::PatchTest::test_patch_local PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_create PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_create_mocks PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_create_mocks_different_order PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_create_mocks_patcher PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_decorating_class PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_failure PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_new_callable PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_new_callable_failure PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_no_kwargs PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_spec_set PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_stacked_decorators PASSED mock/tests/testpatch.py::PatchTest::test_patch_multiple_string_subclasses PASSED mock/tests/testpatch.py::PatchTest::test_patch_nested_autospec_repr PASSED mock/tests/testpatch.py::PatchTest::test_patch_object_keyword_args PASSED mock/tests/testpatch.py::PatchTest::test_patch_object_with_spec_as_boolean PASSED mock/tests/testpatch.py::PatchTest::test_patch_orderdict PASSED mock/tests/testpatch.py::PatchTest::test_patch_propagates_exc_on_exit PASSED mock/tests/testpatch.py::PatchTest::test_patch_slots PASSED mock/tests/testpatch.py::PatchTest::test_patch_spec_set PASSED mock/tests/testpatch.py::PatchTest::test_patch_start_stop PASSED mock/tests/testpatch.py::PatchTest::test_patch_stopall PASSED mock/tests/testpatch.py::PatchTest::test_patch_test_prefix PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_create_mocks_non_existent_attributes PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_exception PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_spec PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_spec_as_boolean PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_spec_as_list PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_spec_mock_repr PASSED mock/tests/testpatch.py::PatchTest::test_patch_with_static_methods PASSED mock/tests/testpatch.py::PatchTest::test_patch_wont_create_by_default PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_class_decorator PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_start_stop PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_twice PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_with_create_mocks_non_existent_attributes PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_with_default_mock PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_with_none PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_with_spec PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_with_spec_as_list PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_with_string_as_target PASSED mock/tests/testpatch.py::PatchTest::test_patchobject_wont_create_by_default PASSED mock/tests/testpatch.py::PatchTest::test_single_patchobject PASSED mock/tests/testpatch.py::PatchTest::test_spec_set_inherit PASSED mock/tests/testpatch.py::PatchTest::test_spec_set_true PASSED mock/tests/testpatch.py::PatchTest::test_special_attrs PASSED mock/tests/testpatch.py::PatchTest::test_specs_false_instead_of_none PASSED mock/tests/testpatch.py::PatchTest::test_stop_idempotent PASSED mock/tests/testpatch.py::PatchTest::test_stop_without_start PASSED mock/tests/testpatch.py::PatchTest::test_stopall_lifo PASSED mock/tests/testpatch.py::PatchTest::test_tracebacks PASSED mock/tests/testsealable.py::TestSealable::test_attribute_chain_is_maintained PASSED mock/tests/testsealable.py::TestSealable::test_attributes_return_more_mocks_by_default PASSED mock/tests/testsealable.py::TestSealable::test_call_chain_is_maintained PASSED mock/tests/testsealable.py::TestSealable::test_call_on_defined_sealed_mock_succeeds PASSED mock/tests/testsealable.py::TestSealable::test_call_on_sealed_mock_fails PASSED mock/tests/testsealable.py::TestSealable::test_existing_attributes_allowed_after_seal PASSED mock/tests/testsealable.py::TestSealable::test_existing_attributes_can_be_set_on_seal PASSED mock/tests/testsealable.py::TestSealable::test_initialized_attributes_allowed_after_seal PASSED mock/tests/testsealable.py::TestSealable::test_integration_with_spec_att_definition PASSED mock/tests/testsealable.py::TestSealable::test_integration_with_spec_method_definition PASSED mock/tests/testsealable.py::TestSealable::test_integration_with_spec_method_definition_respects_spec PASSED mock/tests/testsealable.py::TestSealable::test_new_attributes_cannot_be_accessed_on_seal PASSED mock/tests/testsealable.py::TestSealable::test_new_attributes_cannot_be_set_on_child_of_seal PASSED mock/tests/testsealable.py::TestSealable::test_new_attributes_cannot_be_set_on_seal PASSED mock/tests/testsealable.py::TestSealable::test_seal_with_autospec PASSED mock/tests/testsealable.py::TestSealable::test_sealed_exception_has_attribute_name PASSED mock/tests/testsealable.py::TestSealable::test_seals_dont_recurse_on_manual_attributes PASSED mock/tests/testsealable.py::TestSealable::test_seals_recurse_on_added_attributes PASSED mock/tests/testsealable.py::TestSealable::test_seals_recurse_on_magic_methods PASSED mock/tests/testsentinel.py::SentinelTest::testBases PASSED mock/tests/testsentinel.py::SentinelTest::testCopy PASSED mock/tests/testsentinel.py::SentinelTest::testDEFAULT PASSED mock/tests/testsentinel.py::SentinelTest::testPickle PASSED mock/tests/testsentinel.py::SentinelTest::testSentinelName PASSED mock/tests/testsentinel.py::SentinelTest::testSentinels PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_dynamic_child_mocks_are_threading_mocks PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_dynamic_child_mocks_inherit_timeout PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_instance_check PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_no_name_clash PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_reset_mock_resets_wait PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_side_effect PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_spec PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_failed_with_instance_timeout PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_failed_with_timeout_override PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_magic_method PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_success PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_success_called_before PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_success_with_instance_timeout PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_success_with_timeout_override PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_until_any_call_with_change_global_and_override PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_until_any_call_with_global_default PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_until_any_call_with_keywords PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_until_any_call_with_no_argument_fails_when_called_with_arg PASSED mock/tests/testthreadingmock.py::TestThreadingMock::test_wait_until_any_call_with_positional PASSED mock/tests/testwith.py::TestMockOpen::test_dunder_iter_data PASSED mock/tests/testwith.py::TestMockOpen::test_explicit_mock PASSED mock/tests/testwith.py::TestMockOpen::test_interleaved_reads PASSED mock/tests/testwith.py::TestMockOpen::test_mock_open PASSED mock/tests/testwith.py::TestMockOpen::test_mock_open_context_manager PASSED mock/tests/testwith.py::TestMockOpen::test_mock_open_context_manager_multiple_times PASSED mock/tests/testwith.py::TestMockOpen::test_mock_open_read_with_argument PASSED mock/tests/testwith.py::TestMockOpen::test_next_data PASSED mock/tests/testwith.py::TestMockOpen::test_overriding_return_values PASSED mock/tests/testwith.py::TestMockOpen::test_read_bytes PASSED mock/tests/testwith.py::TestMockOpen::test_read_data PASSED mock/tests/testwith.py::TestMockOpen::test_readline_bytes PASSED mock/tests/testwith.py::TestMockOpen::test_readline_data PASSED mock/tests/testwith.py::TestMockOpen::test_readlines_bytes PASSED mock/tests/testwith.py::TestMockOpen::test_readlines_data PASSED mock/tests/testwith.py::WithTest::testContextManagerMocking PASSED mock/tests/testwith.py::WithTest::test_context_manager_with_magic_mock PASSED mock/tests/testwith.py::WithTest::test_dict_context_manager PASSED mock/tests/testwith.py::WithTest::test_double_patch_instance_method PASSED mock/tests/testwith.py::WithTest::test_patch_object_with_statement PASSED mock/tests/testwith.py::WithTest::test_with_statement PASSED mock/tests/testwith.py::WithTest::test_with_statement_as PASSED mock/tests/testwith.py::WithTest::test_with_statement_exception PASSED mock/tests/testwith.py::WithTest::test_with_statement_imbricated PASSED mock/tests/testwith.py::WithTest::test_with_statement_nested PASSED mock/tests/testwith.py::WithTest::test_with_statement_same_attribute PASSED mock/tests/testwith.py::WithTest::test_with_statement_specified PASSED ======== 531 passed ========