Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 532988 Details for
Bug 656440
dev-python/flexmock-0.10.2 : [TEST] E flexmock.CallOrderError: bar() called before bar( b )
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:flexmock-0.10.2:20180524-112409.log
dev-python:flexmock-0.10.2:20180524-112409.log (text/plain), 156.96 KB, created by
Toralf Förster
on 2018-05-24 17:14:51 UTC
(
hide
)
Description:
dev-python:flexmock-0.10.2:20180524-112409.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2018-05-24 17:14:51 UTC
Size:
156.96 KB
patch
obsolete
> * Package: dev-python/flexmock-0.10.2 > * Repository: gentoo > * Maintainer: nelo@wallus.de polynomial-c@gentoo.org,proxy-maint@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_5 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking flexmock-0.10.2.tar.gz to /var/tmp/portage/dev-python/flexmock-0.10.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/flexmock-0.10.2/work >>>> Preparing source in /var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2 ... > * python3_5: running distutils-r1_run_phase distutils-r1_python_compile >python3.5 setup.py build >running build >running build_py >copying flexmock.py -> /var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2-python3_5/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/flexmock-0.10.2 > * python3_5: running distutils-r1_run_phase python_test >============================= test session starts ============================== >platform linux -- Python 3.5.5, pytest-3.4.1, py-1.5.3, pluggy-0.6.0 -- /usr/bin/python3.5 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2, inifile: >plugins: xonsh-0.4.7, xprocess-0.12.1, xdist-1.20.1, virtualenv-1.2.11, timeout-1.2.1, shutil-1.2.11, mock-1.6.3, forked-0.2, expect-1.1.0, cov-2.5.1, catchlog-1.2.2, arraydiff-0.1, flaky-3.4.0, case-1.5.3, backports.unittest-mock-1.3 >collecting ... collected 1016 items > >tests/flexmock_modern_test.py::TestFlexmockUnittestModern::test_builtin_open PASSED [ 0%] >tests/flexmock_modern_test.py::TestFlexmockUnittestModern::test_context_manager_on_class PASSED [ 0%] >tests/flexmock_modern_test.py::TestFlexmockUnittestModern::test_context_manager_on_instance PASSED [ 0%] >tests/flexmock_modern_test.py::TestFlexmockUnittestModern::test_flexmock_should_support_with PASSED [ 0%] >tests/flexmock_nose_test.py::test_module_level PASSED [ 0%] >tests/flexmock_nose_test.py::test_module_level_generator::[0] PASSED [ 0%] >tests/flexmock_nose_test.py::test_module_level_generator::[1] PASSED [ 0%] >tests/flexmock_nose_test.py::test_module_level_generator::[2] PASSED [ 0%] >tests/flexmock_nose_test.py::TestRegularClass::test_regular PASSED [ 0%] >tests/flexmock_nose_test.py::TestRegularClass::test_class_level_generator_tests::[0] PASSED [ 0%] >tests/flexmock_nose_test.py::TestRegularClass::test_class_level_generator_tests::[1] PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_class_level_generator_tests::[2] PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_create_mock_object <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_create_mock_object_from_dict <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_add_expectations <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_return_value <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_type_flexmock_with_unicode_string_in_should_receive <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_accept_shortcuts_for_creating_mock_object <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_accept_shortcuts_for_creating_expectations <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_expectations_returns_all <- tests/flexmock_test.py PASSED [ 1%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_expectations_returns_named_expectation <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_expectations_returns_none_if_not_found <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_check_parameters <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_keep_track_of_calls <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_set_expectation_call_numbers <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_check_raised_exceptions <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_check_raised_exceptions_instance_with_args <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_check_raised_exceptions_class_with_args <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_any_args_by_default <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args <- tests/flexmock_test.py PASSED [ 2%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_exactly_no_args <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_expectation_dot_mock_should_return_mock <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_create_partial_new_style_object_mock <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_create_partial_old_style_object_mock <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_create_partial_new_style_class_mock <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_create_partial_old_style_class_mock <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_expectations_against_builtin_classes <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_expectations_against_user_defined_classes <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_configures_global_mocks_dict <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_teardown_verifies_mocks <- tests/flexmock_test.py PASSED [ 3%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_teardown_does_not_verify_stubs <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_preserves_stubbed_object_methods_between_tests <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_preserves_stubbed_class_methods_between_tests <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_removes_new_stubs_from_objects_after_tests <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_removes_new_stubs_from_classes_after_tests <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_removes_stubs_from_multiple_objects_on_teardown <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_removes_stubs_from_multiple_classes_on_teardown <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_respects_at_least_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_respects_at_least_when_called_requested_number <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_respects_at_least_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 4%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_respects_at_most_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_respects_at_most_when_called_requested_number <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_respects_at_most_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_treats_once_as_times_one <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_treats_twice_as_times_two <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_works_with_never_when_true <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_works_with_never_when_false <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_get_flexmock_expectation_should_work_with_args <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_function_should_return_previously_mocked_object <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_not_return_class_object_if_mocking_instance <- tests/flexmock_test.py PASSED [ 5%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_call_on_class_mock <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_not_blow_up_on_should_call_for_class_methods <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_not_blow_up_on_should_call_for_static_methods <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_new_instances_with_multiple_params <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_revert_new_instances_on_teardown <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_cleanup_added_methods_and_attributes <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_cleanup_after_exception <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_call_respects_matched_expectations <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_call_respects_unmatched_expectations <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_doesnt_error_on_properly_ordered_expectations <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_errors_on_improperly_ordered_expectations <- tests/flexmock_test.py PASSED [ 6%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_accept_multiple_return_values <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_accept_multiple_return_values_with_shortcut <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mix_multiple_return_values_with_exceptions <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_types_on_multiple_arguments <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_types_on_multiple_arguments_generic <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_types_on_multiple_arguments_classes <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_call_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_private_methods <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_special_methods <- tests/flexmock_test.py PASSED [ 7%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_double_underscore_method <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_private_class_methods <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_iter_on_new_style_instances <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_private_methods_with_leading_underscores <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_generators <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_verify_correct_spy_return_values <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_verify_correct_spy_regexp_return_values <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_verify_spy_raises_correct_exception_class <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_verify_spy_matches_exception_message <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_verify_spy_matches_exception_regexp <- tests/flexmock_test.py PASSED [ 8%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_verify_spy_matches_exception_regexp_mismatch <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_blow_up_on_wrong_spy_exception_type <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_match_spy_exception_parent_type <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_blow_up_on_wrong_spy_return_values <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_same_class_twice <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_spy_should_not_clobber_original_method <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_properly_restore_static_methods <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_properly_restore_undecorated_static_methods <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_properly_restore_module_level_functions <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_module_level_function_with_kwargs <- tests/flexmock_test.py PASSED [ 9%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_support_mocking_old_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_support_mocking_new_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_properly_restore_class_methods <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_spy_should_match_return_value_class <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_spy_should_not_match_falsy_stuff <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_new_instances_should_blow_up_on_should_receive <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_call_alias_should_create_a_spy <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_fail_mocking_nonexistent_methods <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_not_explode_on_unicode_formatting <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_return_value_should_not_explode_on_unicode_values <- tests/flexmock_test.py PASSED [ 10%] >tests/flexmock_nose_test.py::TestRegularClass::test_pass_thru_should_call_original_method_only_once <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_call_works_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_call_fails_properly_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_give_reasonable_error_for_builtins <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_give_reasonable_error_for_instances_of_builtins <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_mock_chained_method_calls_works_with_one_level <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_mock_chained_method_supports_args_and_mocks <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_mock_chained_method_calls_works_with_more_than_one_level <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_replace_method <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_replace_cannot_be_specified_twice <- tests/flexmock_test.py PASSED [ 11%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_mock_the_same_method_multiple_times <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_new_instances_should_be_a_method <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_new_instances_raises_error_when_not_a_class <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_new_instances_works_with_multiple_return_values <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_receive_should_not_replace_flexmock_methods <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_not_add_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_should_not_add_class_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_expectation_properties_work_with_parens <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_mocking_down_the_inheritance_chain_class_to_class <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_arg_matching_works_with_regexp <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg <- tests/flexmock_test.py PASSED [ 12%] >tests/flexmock_nose_test.py::TestRegularClass::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_class_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_object_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_ordered_worked_after_default_stub <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_ordered_works_with_same_args <- tests/flexmock_test.py FAILED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_flexmock_ordered_works_with_same_args_after_default_stub <- tests/flexmock_test.py FAILED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_state_machine <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_support_at_least_and_at_most_together <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_at_least_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_at_most_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 13%] >tests/flexmock_nose_test.py::TestRegularClass::test_at_least_cannot_be_specified_until_at_most_is_set <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_at_most_cannot_be_specified_until_at_least_is_set <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_proper_reset_of_subclass_methods <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_format_args_supports_tuples <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_mocking_subclass_of_str <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_ordered_on_different_methods <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_fake_object_takes_properties <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_replace_non_callable_class_attributes <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_chain_attributes <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_replace_non_callable_instance_attributes <- tests/flexmock_test.py PASSED [ 14%] >tests/flexmock_nose_test.py::TestRegularClass::test_replace_non_callable_module_attributes <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_non_callable_attributes_fail_to_set_expectations <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_and_return_defaults_to_none_with_no_arguments <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_should_replace_attributes_that_are_instances_of_classes <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_isproperty <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_fake_object_supporting_iteration <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_for_single_named_arg_with_optional_args <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_doesnt_set_max_when_using_varargs <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_doesnt_set_max_when_using_kwargs <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_blows_up_on_too_few_args <- tests/flexmock_test.py PASSED [ 15%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_blows_up_on_too_few_args_with_kwargs <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_blows_up_on_too_many_args <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_blows_up_on_kwarg_overlapping_positional <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_blows_up_on_invalid_kwarg <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_ignores_invalid_args_on_flexmock_instances <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_does_not_compensate_for_self_on_static_instance_methods <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_does_not_compensate_for_self_on_static_class_methods <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_with_args_does_compensate_for_cls_on_class_methods <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_calling_with_keyword_args_matches_mock_with_positional_args <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_calling_with_positional_args_matches_mock_with_kwargs <- tests/flexmock_test.py PASSED [ 16%] >tests/flexmock_nose_test.py::TestRegularClass::test_use_replace_with_for_callable_shortcut_kwargs <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestRegularClass::test_mock_property_with_attribute_on_instance <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestRegularClass::test_mock_property_with_attribute_on_class <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestRegularClass::test_verifying_methods_when_mocking_module <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_and_return_defaults_to_none_with_no_arguments <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_arg_matching_works_with_regexp <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_at_least_cannot_be_specified_until_at_most_is_set <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_at_least_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 17%] >tests/flexmock_nose_test.py::TestUnittestClass::test_at_most_cannot_be_specified_until_at_least_is_set <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_at_most_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_calling_with_keyword_args_matches_mock_with_positional_args <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_calling_with_positional_args_matches_mock_with_kwargs <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_expectation_dot_mock_should_return_mock <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_expectation_properties_work_with_parens <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_fake_object_supporting_iteration <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_fake_object_takes_properties <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_class_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_configures_global_mocks_dict <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_doesnt_error_on_properly_ordered_expectations <- tests/flexmock_test.py PASSED [ 18%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_errors_on_improperly_ordered_expectations <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_expectations_returns_all <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_expectations_returns_named_expectation <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_expectations_returns_none_if_not_found <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_function_should_return_previously_mocked_object <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_get_flexmock_expectation_should_work_with_args <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_object_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_ordered_worked_after_default_stub <- tests/flexmock_test.py PASSED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_ordered_works_with_same_args <- tests/flexmock_test.py FAILED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_ordered_works_with_same_args_after_default_stub <- tests/flexmock_test.py FAILED [ 19%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_preserves_stubbed_class_methods_between_tests <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_preserves_stubbed_object_methods_between_tests <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_removes_new_stubs_from_classes_after_tests <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_removes_new_stubs_from_objects_after_tests <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_removes_stubs_from_multiple_classes_on_teardown <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_removes_stubs_from_multiple_objects_on_teardown <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_respects_at_least_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_respects_at_least_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_respects_at_least_when_called_requested_number <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_respects_at_most_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 20%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_respects_at_most_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_respects_at_most_when_called_requested_number <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_accept_multiple_return_values <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_accept_multiple_return_values_with_shortcut <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_accept_shortcuts_for_creating_expectations <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_accept_shortcuts_for_creating_mock_object <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_add_expectations <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_blow_up_on_wrong_spy_exception_type <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_blow_up_on_wrong_spy_return_values <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_call_respects_matched_expectations <- tests/flexmock_test.py PASSED [ 21%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_call_respects_unmatched_expectations <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_call_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_check_parameters <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_check_raised_exceptions <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_check_raised_exceptions_class_with_args <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_check_raised_exceptions_instance_with_args <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_cleanup_added_methods_and_attributes <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_cleanup_after_exception <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_create_mock_object <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_create_mock_object_from_dict <- tests/flexmock_test.py PASSED [ 22%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_create_partial_new_style_class_mock <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_create_partial_new_style_object_mock <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_create_partial_old_style_class_mock <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_create_partial_old_style_object_mock <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_fail_mocking_nonexistent_methods <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_keep_track_of_calls <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_any_args_by_default <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_exactly_no_args <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_expectations_against_builtin_classes <- tests/flexmock_test.py PASSED [ 23%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_expectations_against_user_defined_classes <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_spy_exception_parent_type <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_types_on_multiple_arguments <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_types_on_multiple_arguments_classes <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_match_types_on_multiple_arguments_generic <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mix_multiple_return_values_with_exceptions <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_double_underscore_method <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_generators <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_iter_on_new_style_instances <- tests/flexmock_test.py PASSED [ 24%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_new_instances_with_multiple_params <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_private_class_methods <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_private_methods <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_private_methods_with_leading_underscores <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_same_class_twice <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_special_methods <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_mock_the_same_method_multiple_times <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_not_add_class_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_not_add_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_not_blow_up_on_should_call_for_class_methods <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_not_blow_up_on_should_call_for_static_methods <- tests/flexmock_test.py PASSED [ 25%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_not_explode_on_unicode_formatting <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_not_return_class_object_if_mocking_instance <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_properly_restore_class_methods <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_properly_restore_module_level_functions <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_properly_restore_static_methods <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_properly_restore_undecorated_static_methods <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_replace_cannot_be_specified_twice <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_replace_method <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_return_value <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_revert_new_instances_on_teardown <- tests/flexmock_test.py PASSED [ 26%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_set_expectation_call_numbers <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_support_mocking_new_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_support_mocking_old_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_verify_correct_spy_regexp_return_values <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_verify_correct_spy_return_values <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_verify_spy_matches_exception_message <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_verify_spy_matches_exception_regexp <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_verify_spy_matches_exception_regexp_mismatch <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_should_verify_spy_raises_correct_exception_class <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_spy_should_not_clobber_original_method <- tests/flexmock_test.py PASSED [ 27%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_teardown_does_not_verify_stubs <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_teardown_verifies_mocks <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_treats_once_as_times_one <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_treats_twice_as_times_two <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_works_with_never_when_false <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_flexmock_works_with_never_when_true <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_format_args_supports_tuples <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_isproperty <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mock_chained_method_calls_works_with_more_than_one_level <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mock_chained_method_calls_works_with_one_level <- tests/flexmock_test.py PASSED [ 28%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mock_chained_method_supports_args_and_mocks <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mock_property_with_attribute_on_class <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mock_property_with_attribute_on_instance <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mocking_down_the_inheritance_chain_class_to_class <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_mocking_subclass_of_str <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_module_level_function_with_kwargs <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_new_instances_raises_error_when_not_a_class <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_new_instances_should_be_a_method <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_new_instances_should_blow_up_on_should_receive <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_new_instances_works_with_multiple_return_values <- tests/flexmock_test.py PASSED [ 29%] >tests/flexmock_nose_test.py::TestUnittestClass::test_non_callable_attributes_fail_to_set_expectations <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_ordered_on_different_methods <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_pass_thru_should_call_original_method_only_once <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_proper_reset_of_subclass_methods <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_replace_non_callable_class_attributes <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_replace_non_callable_instance_attributes <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_replace_non_callable_module_attributes <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_return_value_should_not_explode_on_unicode_values <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_call_alias_should_create_a_spy <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_call_fails_properly_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 30%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_call_on_class_mock <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_call_works_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_chain_attributes <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_give_reasonable_error_for_builtins <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_give_reasonable_error_for_instances_of_builtins <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_receive_should_not_replace_flexmock_methods <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_should_replace_attributes_that_are_instances_of_classes <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_spy_should_match_return_value_class <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_spy_should_not_match_falsy_stuff <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_state_machine <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_support_at_least_and_at_most_together <- tests/flexmock_test.py PASSED [ 31%] >tests/flexmock_nose_test.py::TestUnittestClass::test_type_flexmock_with_unicode_string_in_should_receive <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_unittest PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_use_replace_with_for_callable_shortcut_kwargs <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_verifying_methods_when_mocking_module <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_blows_up_on_invalid_kwarg <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_blows_up_on_kwarg_overlapping_positional <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_blows_up_on_too_few_args <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_blows_up_on_too_few_args_with_kwargs <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_blows_up_on_too_many_args <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_does_compensate_for_cls_on_class_methods <- tests/flexmock_test.py PASSED [ 32%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_does_not_compensate_for_self_on_static_class_methods <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_does_not_compensate_for_self_on_static_instance_methods <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_doesnt_set_max_when_using_kwargs <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_doesnt_set_max_when_using_varargs <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_for_single_named_arg_with_optional_args <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_nose_test.py::TestUnittestClass::test_with_args_ignores_invalid_args_on_flexmock_instances <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_pytest_test.py::test_module_level_test_for_pytest PASSED [ 33%] >tests/flexmock_pytest_test.py::test_runtest_hook_with_fixture_for_pytest PASSED [ 33%] >tests/flexmock_pytest_test.py::TestForPytest::test_class_level_test_for_pytest PASSED [ 33%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_create_mock_object <- tests/flexmock_test.py PASSED [ 33%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_create_mock_object_from_dict <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_add_expectations <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_return_value <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_type_flexmock_with_unicode_string_in_should_receive <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_accept_shortcuts_for_creating_mock_object <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_accept_shortcuts_for_creating_expectations <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_expectations_returns_all <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_expectations_returns_named_expectation <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_expectations_returns_none_if_not_found <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_check_parameters <- tests/flexmock_test.py PASSED [ 34%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_keep_track_of_calls <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_set_expectation_call_numbers <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_check_raised_exceptions <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_check_raised_exceptions_instance_with_args <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_check_raised_exceptions_class_with_args <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_any_args_by_default <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_exactly_no_args <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_expectation_dot_mock_should_return_mock <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_create_partial_new_style_object_mock <- tests/flexmock_test.py PASSED [ 35%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_create_partial_old_style_object_mock <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_create_partial_new_style_class_mock <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_create_partial_old_style_class_mock <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_expectations_against_builtin_classes <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_expectations_against_user_defined_classes <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_configures_global_mocks_dict <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_teardown_verifies_mocks <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_teardown_does_not_verify_stubs <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_preserves_stubbed_object_methods_between_tests <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_preserves_stubbed_class_methods_between_tests <- tests/flexmock_test.py PASSED [ 36%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_removes_new_stubs_from_objects_after_tests <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_removes_new_stubs_from_classes_after_tests <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_removes_stubs_from_multiple_objects_on_teardown <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_removes_stubs_from_multiple_classes_on_teardown <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_respects_at_least_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_respects_at_least_when_called_requested_number <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_respects_at_least_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_respects_at_most_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_respects_at_most_when_called_requested_number <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_respects_at_most_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_treats_once_as_times_one <- tests/flexmock_test.py PASSED [ 37%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_treats_twice_as_times_two <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_works_with_never_when_true <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_works_with_never_when_false <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_get_flexmock_expectation_should_work_with_args <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_function_should_return_previously_mocked_object <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_not_return_class_object_if_mocking_instance <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_call_on_class_mock <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_not_blow_up_on_should_call_for_class_methods <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_not_blow_up_on_should_call_for_static_methods <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_new_instances_with_multiple_params <- tests/flexmock_test.py PASSED [ 38%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_revert_new_instances_on_teardown <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_cleanup_added_methods_and_attributes <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_cleanup_after_exception <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_call_respects_matched_expectations <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_call_respects_unmatched_expectations <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_doesnt_error_on_properly_ordered_expectations <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_errors_on_improperly_ordered_expectations <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_accept_multiple_return_values <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_accept_multiple_return_values_with_shortcut <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mix_multiple_return_values_with_exceptions <- tests/flexmock_test.py PASSED [ 39%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_types_on_multiple_arguments <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_types_on_multiple_arguments_generic <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_types_on_multiple_arguments_classes <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_call_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_private_methods <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_special_methods <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_double_underscore_method <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_private_class_methods <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_iter_on_new_style_instances <- tests/flexmock_test.py PASSED [ 40%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_private_methods_with_leading_underscores <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_generators <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_verify_correct_spy_return_values <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_verify_correct_spy_regexp_return_values <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_verify_spy_raises_correct_exception_class <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_verify_spy_matches_exception_message <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_verify_spy_matches_exception_regexp <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_verify_spy_matches_exception_regexp_mismatch <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_blow_up_on_wrong_spy_exception_type <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_match_spy_exception_parent_type <- tests/flexmock_test.py PASSED [ 41%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_blow_up_on_wrong_spy_return_values <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_same_class_twice <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_spy_should_not_clobber_original_method <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_properly_restore_static_methods <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_properly_restore_undecorated_static_methods <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_properly_restore_module_level_functions <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_module_level_function_with_kwargs <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_support_mocking_old_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_support_mocking_new_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_properly_restore_class_methods <- tests/flexmock_test.py PASSED [ 42%] >tests/flexmock_pytest_test.py::TestForPytest::test_spy_should_match_return_value_class <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_spy_should_not_match_falsy_stuff <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_new_instances_should_blow_up_on_should_receive <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_call_alias_should_create_a_spy <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_fail_mocking_nonexistent_methods <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_not_explode_on_unicode_formatting <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_return_value_should_not_explode_on_unicode_values <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_pass_thru_should_call_original_method_only_once <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_call_works_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_call_fails_properly_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_give_reasonable_error_for_builtins <- tests/flexmock_test.py PASSED [ 43%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_give_reasonable_error_for_instances_of_builtins <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_mock_chained_method_calls_works_with_one_level <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_mock_chained_method_supports_args_and_mocks <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_mock_chained_method_calls_works_with_more_than_one_level <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_replace_method <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_replace_cannot_be_specified_twice <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_mock_the_same_method_multiple_times <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_new_instances_should_be_a_method <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_new_instances_raises_error_when_not_a_class <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_new_instances_works_with_multiple_return_values <- tests/flexmock_test.py PASSED [ 44%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_receive_should_not_replace_flexmock_methods <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_not_add_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_should_not_add_class_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_expectation_properties_work_with_parens <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_mocking_down_the_inheritance_chain_class_to_class <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_arg_matching_works_with_regexp <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_class_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_object_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 45%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_ordered_worked_after_default_stub <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_ordered_works_with_same_args <- tests/flexmock_test.py FAILED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_flexmock_ordered_works_with_same_args_after_default_stub <- tests/flexmock_test.py FAILED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_state_machine <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_support_at_least_and_at_most_together <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_at_least_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_at_most_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_at_least_cannot_be_specified_until_at_most_is_set <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_at_most_cannot_be_specified_until_at_least_is_set <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_proper_reset_of_subclass_methods <- tests/flexmock_test.py PASSED [ 46%] >tests/flexmock_pytest_test.py::TestForPytest::test_format_args_supports_tuples <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_mocking_subclass_of_str <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_ordered_on_different_methods <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_fake_object_takes_properties <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_replace_non_callable_class_attributes <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_chain_attributes <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_replace_non_callable_instance_attributes <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_replace_non_callable_module_attributes <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_non_callable_attributes_fail_to_set_expectations <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_and_return_defaults_to_none_with_no_arguments <- tests/flexmock_test.py PASSED [ 47%] >tests/flexmock_pytest_test.py::TestForPytest::test_should_replace_attributes_that_are_instances_of_classes <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_isproperty <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_fake_object_supporting_iteration <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_for_single_named_arg_with_optional_args <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_doesnt_set_max_when_using_varargs <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_doesnt_set_max_when_using_kwargs <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_blows_up_on_too_few_args <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_blows_up_on_too_few_args_with_kwargs <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_blows_up_on_too_many_args <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_blows_up_on_kwarg_overlapping_positional <- tests/flexmock_test.py PASSED [ 48%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_blows_up_on_invalid_kwarg <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_ignores_invalid_args_on_flexmock_instances <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_does_not_compensate_for_self_on_static_instance_methods <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_does_not_compensate_for_self_on_static_class_methods <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_with_args_does_compensate_for_cls_on_class_methods <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_calling_with_keyword_args_matches_mock_with_positional_args <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_calling_with_positional_args_matches_mock_with_kwargs <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_use_replace_with_for_callable_shortcut_kwargs <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_mock_property_with_attribute_on_instance <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_mock_property_with_attribute_on_class <- tests/flexmock_test.py PASSED [ 49%] >tests/flexmock_pytest_test.py::TestForPytest::test_verifying_methods_when_mocking_module <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_and_return_defaults_to_none_with_no_arguments <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_arg_matching_works_with_regexp <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_at_least_cannot_be_specified_until_at_most_is_set <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_at_least_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_at_most_cannot_be_specified_until_at_least_is_set <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_at_most_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_calling_with_keyword_args_matches_mock_with_positional_args <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_calling_with_positional_args_matches_mock_with_kwargs <- tests/flexmock_test.py PASSED [ 50%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_expectation_dot_mock_should_return_mock <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_expectation_properties_work_with_parens <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_fake_object_supporting_iteration <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_fake_object_takes_properties <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_class_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_configures_global_mocks_dict <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_doesnt_error_on_properly_ordered_expectations <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_errors_on_improperly_ordered_expectations <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_expectations_returns_all <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_expectations_returns_named_expectation <- tests/flexmock_test.py PASSED [ 51%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_expectations_returns_none_if_not_found <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_function_should_return_previously_mocked_object <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_get_flexmock_expectation_should_work_with_args <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_object_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_ordered_worked_after_default_stub <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_ordered_works_with_same_args <- tests/flexmock_test.py FAILED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_ordered_works_with_same_args_after_default_stub <- tests/flexmock_test.py FAILED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_preserves_stubbed_class_methods_between_tests <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_preserves_stubbed_object_methods_between_tests <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_removes_new_stubs_from_classes_after_tests <- tests/flexmock_test.py PASSED [ 52%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_removes_new_stubs_from_objects_after_tests <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_removes_stubs_from_multiple_classes_on_teardown <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_removes_stubs_from_multiple_objects_on_teardown <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_respects_at_least_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_respects_at_least_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_respects_at_least_when_called_requested_number <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_respects_at_most_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_respects_at_most_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_respects_at_most_when_called_requested_number <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_accept_multiple_return_values <- tests/flexmock_test.py PASSED [ 53%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_accept_multiple_return_values_with_shortcut <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_accept_shortcuts_for_creating_expectations <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_accept_shortcuts_for_creating_mock_object <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_add_expectations <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_blow_up_on_wrong_spy_exception_type <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_blow_up_on_wrong_spy_return_values <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_call_respects_matched_expectations <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_call_respects_unmatched_expectations <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_call_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_check_parameters <- tests/flexmock_test.py PASSED [ 54%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_check_raised_exceptions <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_check_raised_exceptions_class_with_args <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_check_raised_exceptions_instance_with_args <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_cleanup_added_methods_and_attributes <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_cleanup_after_exception <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_create_mock_object <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_create_mock_object_from_dict <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_create_partial_new_style_class_mock <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_create_partial_new_style_object_mock <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_create_partial_old_style_class_mock <- tests/flexmock_test.py PASSED [ 55%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_create_partial_old_style_object_mock <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_fail_mocking_nonexistent_methods <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_keep_track_of_calls <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_any_args_by_default <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_exactly_no_args <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_expectations_against_builtin_classes <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_expectations_against_user_defined_classes <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_spy_exception_parent_type <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_types_on_multiple_arguments <- tests/flexmock_test.py PASSED [ 56%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_types_on_multiple_arguments_classes <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_match_types_on_multiple_arguments_generic <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mix_multiple_return_values_with_exceptions <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_double_underscore_method <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_generators <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_iter_on_new_style_instances <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_new_instances_with_multiple_params <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_private_class_methods <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_private_methods <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_private_methods_with_leading_underscores <- tests/flexmock_test.py PASSED [ 57%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_same_class_twice <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_special_methods <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_mock_the_same_method_multiple_times <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_not_add_class_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_not_add_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_not_blow_up_on_should_call_for_class_methods <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_not_blow_up_on_should_call_for_static_methods <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_not_explode_on_unicode_formatting <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_not_return_class_object_if_mocking_instance <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_properly_restore_class_methods <- tests/flexmock_test.py PASSED [ 58%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_properly_restore_module_level_functions <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_properly_restore_static_methods <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_properly_restore_undecorated_static_methods <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_replace_cannot_be_specified_twice <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_replace_method <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_return_value <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_revert_new_instances_on_teardown <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_set_expectation_call_numbers <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_support_mocking_new_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_support_mocking_old_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 59%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_verify_correct_spy_regexp_return_values <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_verify_correct_spy_return_values <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_verify_spy_matches_exception_message <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_verify_spy_matches_exception_regexp <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_verify_spy_matches_exception_regexp_mismatch <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_should_verify_spy_raises_correct_exception_class <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_spy_should_not_clobber_original_method <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_teardown_does_not_verify_stubs <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_teardown_verifies_mocks <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_treats_once_as_times_one <- tests/flexmock_test.py PASSED [ 60%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_treats_twice_as_times_two <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_works_with_never_when_false <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_flexmock_works_with_never_when_true <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_format_args_supports_tuples <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_isproperty <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mock_chained_method_calls_works_with_more_than_one_level <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mock_chained_method_calls_works_with_one_level <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mock_chained_method_supports_args_and_mocks <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mock_property_with_attribute_on_class <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mock_property_with_attribute_on_instance <- tests/flexmock_test.py PASSED [ 61%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mocking_down_the_inheritance_chain_class_to_class <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_mocking_subclass_of_str <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_module_level_function_with_kwargs <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_new_instances_raises_error_when_not_a_class <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_new_instances_should_be_a_method <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_new_instances_should_blow_up_on_should_receive <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_new_instances_works_with_multiple_return_values <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_non_callable_attributes_fail_to_set_expectations <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_ordered_on_different_methods <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_pass_thru_should_call_original_method_only_once <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_proper_reset_of_subclass_methods <- tests/flexmock_test.py PASSED [ 62%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_replace_non_callable_class_attributes <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_replace_non_callable_instance_attributes <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_replace_non_callable_module_attributes <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_return_value_should_not_explode_on_unicode_values <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_call_alias_should_create_a_spy <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_call_fails_properly_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_call_on_class_mock <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_call_works_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_chain_attributes <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_give_reasonable_error_for_builtins <- tests/flexmock_test.py PASSED [ 63%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_give_reasonable_error_for_instances_of_builtins <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_receive_should_not_replace_flexmock_methods <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_should_replace_attributes_that_are_instances_of_classes <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_spy_should_match_return_value_class <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_spy_should_not_match_falsy_stuff <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_state_machine <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_support_at_least_and_at_most_together <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_type_flexmock_with_unicode_string_in_should_receive <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_unittest PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_use_replace_with_for_callable_shortcut_kwargs <- tests/flexmock_test.py PASSED [ 64%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_verifying_methods_when_mocking_module <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_blows_up_on_invalid_kwarg <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_blows_up_on_kwarg_overlapping_positional <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_blows_up_on_too_few_args <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_blows_up_on_too_few_args_with_kwargs <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_blows_up_on_too_many_args <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_does_compensate_for_cls_on_class_methods <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_does_not_compensate_for_self_on_static_class_methods <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_does_not_compensate_for_self_on_static_instance_methods <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_doesnt_set_max_when_using_kwargs <- tests/flexmock_test.py PASSED [ 65%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_doesnt_set_max_when_using_varargs <- tests/flexmock_test.py PASSED [ 66%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_for_single_named_arg_with_optional_args <- tests/flexmock_test.py PASSED [ 66%] >tests/flexmock_pytest_test.py::TestUnittestClass::test_with_args_ignores_invalid_args_on_flexmock_instances <- tests/flexmock_test.py PASSED [ 66%] >tests/flexmock_pytest_test.py::TestFailureOnException::test_exception xfail [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_and_return_defaults_to_none_with_no_arguments PASSED [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg PASSED [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg PASSED [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_arg_matching_works_with_regexp PASSED [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_at_least_cannot_be_specified_until_at_most_is_set PASSED [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_at_least_cannot_be_used_twice PASSED [ 66%] >tests/flexmock_test.py::TestFlexmockUnittest::test_at_most_cannot_be_specified_until_at_least_is_set PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_at_most_cannot_be_used_twice PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_calling_with_keyword_args_matches_mock_with_positional_args PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_calling_with_positional_args_matches_mock_with_kwargs PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_expectation_dot_mock_should_return_mock PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_expectation_properties_work_with_parens PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_fake_object_supporting_iteration PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_fake_object_takes_properties PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_class_returns_same_object_on_repeated_calls PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_configures_global_mocks_dict PASSED [ 67%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_doesnt_error_on_properly_ordered_expectations PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_errors_on_improperly_ordered_expectations PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_expectations_returns_all PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_expectations_returns_named_expectation PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_expectations_returns_none_if_not_found PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_function_should_return_previously_mocked_object PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_get_flexmock_expectation_should_work_with_args PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_object_returns_same_object_on_repeated_calls PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_ordered_worked_after_default_stub PASSED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_ordered_works_with_same_args FAILED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_ordered_works_with_same_args_after_default_stub FAILED [ 68%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_preserves_stubbed_class_methods_between_tests PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_preserves_stubbed_object_methods_between_tests PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_removes_new_stubs_from_classes_after_tests PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_removes_new_stubs_from_objects_after_tests PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_removes_stubs_from_multiple_classes_on_teardown PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_removes_stubs_from_multiple_objects_on_teardown PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_respects_at_least_when_called_less_than_requested PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_respects_at_least_when_called_more_than_requested PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_respects_at_least_when_called_requested_number PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_respects_at_most_when_called_less_than_requested PASSED [ 69%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_respects_at_most_when_called_more_than_requested PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_respects_at_most_when_called_requested_number PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_accept_multiple_return_values PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_accept_multiple_return_values_with_shortcut PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_accept_shortcuts_for_creating_expectations PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_accept_shortcuts_for_creating_mock_object PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_add_expectations PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_blow_up_on_wrong_spy_exception_type PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_blow_up_on_wrong_spy_return_values PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_call_respects_matched_expectations PASSED [ 70%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_call_respects_unmatched_expectations PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_call_should_match_keyword_arguments PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_check_parameters PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_check_raised_exceptions PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_check_raised_exceptions_class_with_args PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_check_raised_exceptions_instance_with_args PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_cleanup_added_methods_and_attributes PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_cleanup_after_exception PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_create_mock_object PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_create_mock_object_from_dict PASSED [ 71%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_new_style_class_mock PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_new_style_object_mock PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_old_style_class_mock PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_old_style_object_mock PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_fail_mocking_nonexistent_methods PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_keep_track_of_calls PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_any_args_by_default PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_exactly_no_args PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_expectations_against_builtin_classes PASSED [ 72%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_expectations_against_user_defined_classes PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_keyword_arguments PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_spy_exception_parent_type PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_types_on_multiple_arguments PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_types_on_multiple_arguments_classes PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_match_types_on_multiple_arguments_generic PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mix_multiple_return_values_with_exceptions PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_double_underscore_method PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_generators PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_iter_on_new_style_instances PASSED [ 73%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_new_instances_with_multiple_params PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_private_class_methods PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_private_methods PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_private_methods_with_leading_underscores PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_same_class_twice PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_special_methods PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_mock_the_same_method_multiple_times PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_not_add_class_methods_if_they_already_exist PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_not_add_methods_if_they_already_exist PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_not_blow_up_on_should_call_for_class_methods PASSED [ 74%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_not_blow_up_on_should_call_for_static_methods PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_not_explode_on_unicode_formatting PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_not_return_class_object_if_mocking_instance PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_class_methods PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_module_level_functions PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_static_methods PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_undecorated_static_methods PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_replace_cannot_be_specified_twice PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_replace_method PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_return_value PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_revert_new_instances_on_teardown PASSED [ 75%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_set_expectation_call_numbers PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_support_mocking_new_style_classes_as_functions PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_support_mocking_old_style_classes_as_functions PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_verify_correct_spy_regexp_return_values PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_verify_correct_spy_return_values PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_matches_exception_message PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_matches_exception_regexp PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_matches_exception_regexp_mismatch PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_raises_correct_exception_class PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_spy_should_not_clobber_original_method PASSED [ 76%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_teardown_does_not_verify_stubs PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_teardown_verifies_mocks PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_treats_once_as_times_one PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_treats_twice_as_times_two PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_works_with_never_when_false PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_flexmock_works_with_never_when_true PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_format_args_supports_tuples PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_isproperty PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mock_chained_method_calls_works_with_more_than_one_level PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mock_chained_method_calls_works_with_one_level PASSED [ 77%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mock_chained_method_supports_args_and_mocks PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mock_property_with_attribute_on_class PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mock_property_with_attribute_on_instance PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mocking_down_the_inheritance_chain_class_to_class PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_mocking_subclass_of_str PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_module_level_function_with_kwargs PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_new_instances_raises_error_when_not_a_class PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_new_instances_should_be_a_method PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_new_instances_should_blow_up_on_should_receive PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_new_instances_works_with_multiple_return_values PASSED [ 78%] >tests/flexmock_test.py::TestFlexmockUnittest::test_non_callable_attributes_fail_to_set_expectations PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_ordered_on_different_methods PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_pass_thru_should_call_original_method_only_once PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_proper_reset_of_subclass_methods PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_replace_non_callable_class_attributes PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_replace_non_callable_instance_attributes PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_replace_non_callable_module_attributes PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_return_value_should_not_explode_on_unicode_values PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_call_alias_should_create_a_spy PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_call_fails_properly_for_same_method_with_different_args PASSED [ 79%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_call_on_class_mock PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_call_works_for_same_method_with_different_args PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_chain_attributes PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_give_reasonable_error_for_builtins PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_give_reasonable_error_for_instances_of_builtins PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_receive_should_not_replace_flexmock_methods PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_should_replace_attributes_that_are_instances_of_classes PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_spy_should_match_return_value_class PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_spy_should_not_match_falsy_stuff PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_state_machine PASSED [ 80%] >tests/flexmock_test.py::TestFlexmockUnittest::test_support_at_least_and_at_most_together PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_type_flexmock_with_unicode_string_in_should_receive PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_use_replace_with_for_callable_shortcut_kwargs PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_verifying_methods_when_mocking_module PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_invalid_kwarg PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_kwarg_overlapping_positional PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_too_few_args PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_too_few_args_with_kwargs PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_too_many_args PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_does_compensate_for_cls_on_class_methods PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_does_not_compensate_for_self_on_static_class_methods PASSED [ 81%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_does_not_compensate_for_self_on_static_instance_methods PASSED [ 82%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_doesnt_set_max_when_using_kwargs PASSED [ 82%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_doesnt_set_max_when_using_varargs PASSED [ 82%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_for_single_named_arg_with_optional_args PASSED [ 82%] >tests/flexmock_test.py::TestFlexmockUnittest::test_with_args_ignores_invalid_args_on_flexmock_instances PASSED [ 82%] >tests/flexmock_test.py::TestUnittestModern::test_builtin_open <- tests/flexmock_modern_test.py PASSED [ 82%] >tests/flexmock_test.py::TestUnittestModern::test_context_manager_on_class <- tests/flexmock_modern_test.py PASSED [ 82%] >tests/flexmock_test.py::TestUnittestModern::test_context_manager_on_instance <- tests/flexmock_modern_test.py PASSED [ 82%] >tests/flexmock_test.py::TestUnittestModern::test_flexmock_should_support_with <- tests/flexmock_modern_test.py PASSED [ 82%] >tests/flexmock_test.py::TestPy3Features::test_mock_kwargs_only_func_fails_if_required_not_provided PASSED [ 82%] >tests/flexmock_test.py::TestPy3Features::test_mock_kwargs_only_func_mock_all PASSED [ 83%] >tests/flexmock_test.py::TestPy3Features::test_mock_kwargs_only_func_mock_required PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittestModern::test_builtin_open <- tests/flexmock_modern_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittestModern::test_context_manager_on_class <- tests/flexmock_modern_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittestModern::test_context_manager_on_instance <- tests/flexmock_modern_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittestModern::test_flexmock_should_support_with <- tests/flexmock_modern_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_and_return_defaults_to_none_with_no_arguments <- tests/flexmock_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_karg <- tests/flexmock_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_arg_matching_with_regexp_fails_when_regexp_doesnt_match_kwarg <- tests/flexmock_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_arg_matching_works_with_regexp <- tests/flexmock_test.py PASSED [ 83%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_at_least_cannot_be_specified_until_at_most_is_set <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_at_least_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_at_most_cannot_be_specified_until_at_least_is_set <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_at_most_cannot_be_used_twice <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_calling_with_keyword_args_matches_mock_with_positional_args <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_calling_with_positional_args_matches_mock_with_kwargs <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_expectation_dot_mock_should_return_mock <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_expectation_properties_work_with_parens <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_fake_object_supporting_iteration <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_fake_object_takes_properties <- tests/flexmock_test.py PASSED [ 84%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_class_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_configures_global_mocks_dict <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_doesnt_error_on_properly_ordered_expectations <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_errors_on_improperly_ordered_expectations <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_expectations_returns_all <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_expectations_returns_named_expectation <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_expectations_returns_none_if_not_found <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_function_should_return_previously_mocked_object <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_get_flexmock_expectation_should_work_with_args <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_object_returns_same_object_on_repeated_calls <- tests/flexmock_test.py PASSED [ 85%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_ordered_worked_after_default_stub <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_ordered_works_with_same_args <- tests/flexmock_test.py FAILED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_ordered_works_with_same_args_after_default_stub <- tests/flexmock_test.py FAILED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_preserves_stubbed_class_methods_between_tests <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_preserves_stubbed_object_methods_between_tests <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_removes_new_stubs_from_classes_after_tests <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_removes_new_stubs_from_objects_after_tests <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_removes_stubs_from_multiple_classes_on_teardown <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_removes_stubs_from_multiple_objects_on_teardown <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_respects_at_least_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 86%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_respects_at_least_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_respects_at_least_when_called_requested_number <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_respects_at_most_when_called_less_than_requested <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_respects_at_most_when_called_more_than_requested <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_respects_at_most_when_called_requested_number <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_accept_multiple_return_values <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_accept_multiple_return_values_with_shortcut <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_accept_shortcuts_for_creating_expectations <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_accept_shortcuts_for_creating_mock_object <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_add_expectations <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_blow_up_on_wrong_spy_exception_type <- tests/flexmock_test.py PASSED [ 87%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_blow_up_on_wrong_spy_return_values <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_call_respects_matched_expectations <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_call_respects_unmatched_expectations <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_call_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_check_parameters <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_check_raised_exceptions <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_check_raised_exceptions_class_with_args <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_check_raised_exceptions_instance_with_args <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_cleanup_added_methods_and_attributes <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_cleanup_after_exception <- tests/flexmock_test.py PASSED [ 88%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_create_mock_object <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_create_mock_object_from_dict <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_new_style_class_mock <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_new_style_object_mock <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_old_style_class_mock <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_create_partial_old_style_object_mock <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_fail_mocking_nonexistent_methods <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_fail_to_match_exactly_no_args_when_calling_with_args <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_keep_track_of_calls <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_any_args_by_default <- tests/flexmock_test.py PASSED [ 89%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_exactly_no_args <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_expectations_against_builtin_classes <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_expectations_against_user_defined_classes <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_keyword_arguments <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_spy_exception_parent_type <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_types_on_multiple_arguments <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_types_on_multiple_arguments_classes <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_match_types_on_multiple_arguments_generic <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mix_multiple_return_values_with_exceptions <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_double_underscore_method <- tests/flexmock_test.py PASSED [ 90%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_generators <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_iter_on_new_style_instances <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_new_instances_with_multiple_params <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_private_class_methods <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_private_methods <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_private_methods_with_leading_underscores <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_same_class_twice <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_special_methods <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_mock_the_same_method_multiple_times <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_not_add_class_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 91%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_not_add_methods_if_they_already_exist <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_not_blow_up_on_should_call_for_class_methods <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_not_blow_up_on_should_call_for_static_methods <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_not_explode_on_unicode_formatting <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_not_return_class_object_if_mocking_instance <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_class_methods <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_module_level_functions <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_static_methods <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_properly_restore_undecorated_static_methods <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_replace_cannot_be_specified_twice <- tests/flexmock_test.py PASSED [ 92%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_replace_method <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_return_value <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_revert_new_instances_on_teardown <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_set_expectation_call_numbers <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_support_mocking_new_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_support_mocking_old_style_classes_as_functions <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_verify_correct_spy_regexp_return_values <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_verify_correct_spy_return_values <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_matches_exception_message <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_matches_exception_regexp <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_matches_exception_regexp_mismatch <- tests/flexmock_test.py PASSED [ 93%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_should_verify_spy_raises_correct_exception_class <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_spy_should_not_clobber_original_method <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_teardown_does_not_verify_stubs <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_teardown_verifies_mocks <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_treats_once_as_times_one <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_treats_twice_as_times_two <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_works_with_never_when_false <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_flexmock_works_with_never_when_true <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_format_args_supports_tuples <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_isproperty <- tests/flexmock_test.py PASSED [ 94%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mock_chained_method_calls_works_with_more_than_one_level <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mock_chained_method_calls_works_with_one_level <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mock_chained_method_supports_args_and_mocks <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mock_property_with_attribute_on_class <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mock_property_with_attribute_on_instance <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mocking_down_the_inheritance_chain_class_to_class <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_mocking_subclass_of_str <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_module_level_function_with_kwargs <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_new_instances_raises_error_when_not_a_class <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_new_instances_should_be_a_method <- tests/flexmock_test.py PASSED [ 95%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_new_instances_should_blow_up_on_should_receive <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_new_instances_works_with_multiple_return_values <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_non_callable_attributes_fail_to_set_expectations <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_ordered_on_different_methods <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_pass_thru_should_call_original_method_only_once <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_proper_reset_of_subclass_methods <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_replace_non_callable_class_attributes <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_replace_non_callable_instance_attributes <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_replace_non_callable_module_attributes <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_return_value_should_not_explode_on_unicode_values <- tests/flexmock_test.py PASSED [ 96%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_call_alias_should_create_a_spy <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_call_fails_properly_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_call_on_class_mock <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_call_works_for_same_method_with_different_args <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_chain_attributes <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_give_reasonable_error_for_builtins <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_give_reasonable_error_for_instances_of_builtins <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_receive_should_not_replace_flexmock_methods <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_should_replace_attributes_that_are_instances_of_classes <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_spy_should_match_return_value_class <- tests/flexmock_test.py PASSED [ 97%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_spy_should_not_match_falsy_stuff <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_state_machine <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_support_at_least_and_at_most_together <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_type_flexmock_with_unicode_string_in_should_receive <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_use_replace_with_for_callable_shortcut_kwargs <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_verifying_methods_when_mocking_module <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_invalid_kwarg <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_kwarg_overlapping_positional <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_too_few_args <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_too_few_args_with_kwargs <- tests/flexmock_test.py PASSED [ 98%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_blows_up_on_too_many_args <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_does_compensate_for_cls_on_class_methods <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_does_not_compensate_for_self_on_static_class_methods <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_does_not_compensate_for_self_on_static_instance_methods <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_doesnt_set_max_when_using_kwargs <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_doesnt_set_max_when_using_varargs <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_for_single_named_arg_with_optional_args <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestFlexmockUnittest::test_with_args_ignores_invalid_args_on_flexmock_instances <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestPy3Features::test_mock_kwargs_only_func_fails_if_required_not_provided <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestPy3Features::test_mock_kwargs_only_func_mock_all <- tests/flexmock_test.py PASSED [ 99%] >tests/flexmock_unittest_test.py::TestPy3Features::test_mock_kwargs_only_func_mock_required <- tests/flexmock_test.py PASSED [100%] >===Flaky Test Report=== > > >===End Flaky Test Report=== > >=================================== FAILURES =================================== >_________ TestRegularClass.test_flexmock_ordered_works_with_same_args __________ > >self = <flexmock_nose_test.TestRegularClass object at 0x7f10aca8ac18> > > def test_flexmock_ordered_works_with_same_args(self): > foo = flexmock() > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1378: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10aca8ab38> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("b") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError > TestRegularClass.test_flexmock_ordered_works_with_same_args_after_default_stub > >self = <flexmock_nose_test.TestRegularClass object at 0x7f10aca8acc0> > > def test_flexmock_ordered_works_with_same_args_after_default_stub(self): > foo = flexmock() > foo.should_receive('bar').and_return(9) > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1388: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10acaa0048> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar() > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >_________ TestUnittestClass.test_flexmock_ordered_works_with_same_args _________ > >self = <flexmock_nose_test.TestUnittestClass testMethod=test_flexmock_ordered_works_with_same_args> > > def test_flexmock_ordered_works_with_same_args(self): > foo = flexmock() > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1378: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac3f6cc0> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("a") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError > TestUnittestClass.test_flexmock_ordered_works_with_same_args_after_default_stub > >self = <flexmock_nose_test.TestUnittestClass testMethod=test_flexmock_ordered_works_with_same_args_after_default_stub> > > def test_flexmock_ordered_works_with_same_args_after_default_stub(self): > foo = flexmock() > foo.should_receive('bar').and_return(9) > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1388: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10aca42b70> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("b") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >___________ TestForPytest.test_flexmock_ordered_works_with_same_args ___________ > >self = <flexmock_pytest_test.TestForPytest object at 0x7f10ac415a58> > > def test_flexmock_ordered_works_with_same_args(self): > foo = flexmock() > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1378: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac415978> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("b") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >_ TestForPytest.test_flexmock_ordered_works_with_same_args_after_default_stub __ > >self = <flexmock_pytest_test.TestForPytest object at 0x7f10ac407048> > > def test_flexmock_ordered_works_with_same_args_after_default_stub(self): > foo = flexmock() > foo.should_receive('bar').and_return(9) > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1388: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac4074a8> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar() > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >_________ TestUnittestClass.test_flexmock_ordered_works_with_same_args _________ > >self = <flexmock_pytest_test.TestUnittestClass testMethod=test_flexmock_ordered_works_with_same_args> > > def test_flexmock_ordered_works_with_same_args(self): > foo = flexmock() > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1378: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac3f4be0> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("a") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError > TestUnittestClass.test_flexmock_ordered_works_with_same_args_after_default_stub > >self = <flexmock_pytest_test.TestUnittestClass testMethod=test_flexmock_ordered_works_with_same_args_after_default_stub> > > def test_flexmock_ordered_works_with_same_args_after_default_stub(self): > foo = flexmock() > foo.should_receive('bar').and_return(9) > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1388: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac2ba0f0> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("b") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >_______ TestFlexmockUnittest.test_flexmock_ordered_works_with_same_args ________ > >self = <flexmock_test.TestFlexmockUnittest testMethod=test_flexmock_ordered_works_with_same_args> > > def test_flexmock_ordered_works_with_same_args(self): > foo = flexmock() > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1378: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac2e4860> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("a") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError > TestFlexmockUnittest.test_flexmock_ordered_works_with_same_args_after_default_stub > >self = <flexmock_test.TestFlexmockUnittest testMethod=test_flexmock_ordered_works_with_same_args_after_default_stub> > > def test_flexmock_ordered_works_with_same_args_after_default_stub(self): > foo = flexmock() > foo.should_receive('bar').and_return(9) > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1388: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac2e4da0> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("b") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >_______ TestFlexmockUnittest.test_flexmock_ordered_works_with_same_args ________ > >self = <flexmock_test.TestFlexmockUnittest testMethod=test_flexmock_ordered_works_with_same_args> > > def test_flexmock_ordered_works_with_same_args(self): > foo = flexmock() > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1378: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10ac72e0f0> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("a") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError > TestFlexmockUnittest.test_flexmock_ordered_works_with_same_args_after_default_stub > >self = <flexmock_test.TestFlexmockUnittest testMethod=test_flexmock_ordered_works_with_same_args_after_default_stub> > > def test_flexmock_ordered_works_with_same_args_after_default_stub(self): > foo = flexmock() > foo.should_receive('bar').and_return(9) > foo.should_receive('bar').ordered().and_return(1) > foo.should_receive('bar').ordered().and_return(2) >> a = foo.bar() > >tests/flexmock_test.py:1388: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >../flexmock-0.10.2-python3_5/lib/flexmock.py:945: in mock_method > self, name, arguments) >../flexmock-0.10.2-python3_5/lib/flexmock.py:135: in get_flexmock_expectation > cls._verify_call_order(found, args) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >cls = <class 'flexmock.FlexmockContainer'> >expectation = <flexmock.Expectation object at 0x7f10aca34208> >args = {'kargs': (), 'kwargs': {}} > > @classmethod > def _verify_call_order(cls, expectation, args): > if not cls.ordered: > next_method = cls.last > else: > next_method = cls.ordered.pop(0) > cls.last = next_method > if expectation is not next_method: > raise CallOrderError( > '%s called before %s' % > (_format_args(expectation.name, args), >> _format_args(next_method.name, next_method.args))) >E flexmock.CallOrderError: bar() called before bar("b") > >../flexmock-0.10.2-python3_5/lib/flexmock.py:149: CallOrderError >=============================== warnings summary =============================== >None > pytest-catchlog plugin has been merged into the core, please remove it from your requirements. > >tests/flexmock_nose_test.py::test_module_level_generator > yield tests are deprecated, and scheduled to be removed in pytest 4.0 > >tests/flexmock_nose_test.py::TestRegularClass::()::test_class_level_generator_tests > yield tests are deprecated, and scheduled to be removed in pytest 4.0 > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >======== 12 failed, 1003 passed, 1 xfailed, 3 warnings in 6.61 seconds ========= > * ERROR: dev-python/flexmock-0.10.2::gentoo failed (test phase): > * pytest failed > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 2686: Called distutils-r1_src_test > * environment, line 937: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 399: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2216: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1591: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1589: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 611: Called distutils-r1_run_phase 'python_test' > * environment, line 868: Called python_test > * environment, line 2588: Called die > * The specific snippet of code: > * pytest -vv tests || die "pytest failed" > * > * If you need support, post the output of `emerge --info '=dev-python/flexmock-0.10.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/flexmock-0.10.2::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:flexmock-0.10.2:20180524-112409.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/flexmock-0.10.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/flexmock-0.10.2/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2' > * S: '/var/tmp/portage/dev-python/flexmock-0.10.2/work/flexmock-0.10.2'
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 656440
:
532986
| 532988 |
532990
|
532992
|
532994
|
532996
|
532998
|
535142
|
535144
|
535146
|
535148
|
535150
|
535152
|
535154