Mock Version: 1.2.15 Mock Version: 1.2.15 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'], chrootPath='/var/lib/mock/paas7-openshift-common-el7-build-15021-21217/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=497) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-mock.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-mock-1.0.1-9.2.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-mock.spec '], chrootPath='/var/lib/mock/paas7-openshift-common-el7-build-15021-21217/root'shell=Falseuid=497env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-mock.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.rl3y2r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mock-1.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/mock-1.0.1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mock-1.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /builddir/build/SOURCES/LICENSE.txt . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A5YiOb + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib copying mock.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.LIuGTV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch ++ dirname /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch + cd mock-1.0.1 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr creating /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib creating /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib/python2.7/site-packages copying build/lib/mock.py -> /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib/python2.7/site-packages/mock.py to mock.pyc writing byte-compilation script '/tmp/tmpRzaR76.py' /usr/bin/python -O /tmp/tmpRzaR76.py removing /tmp/tmpRzaR76.py running install_egg_info running egg_info writing mock.egg-info/PKG-INFO writing top-level names to mock.egg-info/top_level.txt writing dependency_links to mock.egg-info/dependency_links.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' writing manifest file 'mock.egg-info/SOURCES.txt' Copying mock.egg-info to /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib/python2.7/site-packages/mock-1.0.1-py2.7.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/mock-1.0.1 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kIOIVG + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + /usr/bin/python2 setup.py test running test running egg_info writing mock.egg-info/PKG-INFO writing top-level names to mock.egg-info/top_level.txt writing dependency_links to mock.egg-info/dependency_links.txt reading manifest file 'mock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*.png' under directory 'docs' warning: no files found matching '*.css' under directory 'docs' warning: no files found matching '*.html' under directory 'docs' warning: no files found matching '*.js' under directory 'docs' writing manifest file 'mock.egg-info/SOURCES.txt' running build_ext test_attributes (tests.testcallable.TestCallable) ... ok test_create_autopsec (tests.testcallable.TestCallable) ... ok test_create_autospec_instance (tests.testcallable.TestCallable) ... ok test_heirarchy (tests.testcallable.TestCallable) ... ok test_non_callable (tests.testcallable.TestCallable) ... ok test_patch_spec (tests.testcallable.TestCallable) ... ok test_patch_spec_callable_class (tests.testcallable.TestCallable) ... ok test_patch_spec_instance (tests.testcallable.TestCallable) ... ok test_patch_spec_set (tests.testcallable.TestCallable) ... ok test_patch_spec_set_instance (tests.testcallable.TestCallable) ... ok test_subclasses (tests.testcallable.TestCallable) ... ok test_any (tests.testhelpers.AnyTest) ... ok test_any_and_datetime (tests.testhelpers.AnyTest) ... ok test_any_mock_calls_comparison_order (tests.testhelpers.AnyTest) ... ok test_repr (tests.testhelpers.AnyTest) ... ok test_attribute_call (tests.testhelpers.CallTest) ... ok test_call (tests.testhelpers.CallTest) ... ok test_call_any (tests.testhelpers.CallTest) ... ok test_call_list (tests.testhelpers.CallTest) ... ok test_call_ne (tests.testhelpers.CallTest) ... ok test_call_non_tuples (tests.testhelpers.CallTest) ... ok test_call_with_args (tests.testhelpers.CallTest) ... ok test_call_with_args_call_empty_name (tests.testhelpers.CallTest) ... ok test_call_with_call (tests.testhelpers.CallTest) ... ok test_call_with_kwargs (tests.testhelpers.CallTest) ... ok test_empty__Call (tests.testhelpers.CallTest) ... ok test_extended_call (tests.testhelpers.CallTest) ... ok test_named_call_with_args (tests.testhelpers.CallTest) ... ok test_named_call_with_kwargs (tests.testhelpers.CallTest) ... ok test_named_empty_call (tests.testhelpers.CallTest) ... ok test_repr (tests.testhelpers.CallTest) ... ok test_two_args_call (tests.testhelpers.CallTest) ... ok test_attributes (tests.testhelpers.SpecSignatureTest) ... ok test_autospec_functions_with_self_in_odd_place (tests.testhelpers.SpecSignatureTest) ... ok test_autospec_property (tests.testhelpers.SpecSignatureTest) ... ok test_autospec_reset_mock (tests.testhelpers.SpecSignatureTest) ... ok test_autospec_slots (tests.testhelpers.SpecSignatureTest) ... ok test_basic (tests.testhelpers.SpecSignatureTest) ... ok test_builtin_functions_types (tests.testhelpers.SpecSignatureTest) ... ok test_builtins (tests.testhelpers.SpecSignatureTest) ... ok test_class_with_no_init (tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_keyword_arguments (tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_keyword_only_arguments (tests.testhelpers.SpecSignatureTest) ... skipped 'Keyword only arguments Python 3 specific' test_create_autospec_none (tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_return_value (tests.testhelpers.SpecSignatureTest) ... ok test_create_autospec_unbound_methods (tests.testhelpers.SpecSignatureTest) ... expected failure test_descriptors (tests.testhelpers.SpecSignatureTest) ... ok test_function (tests.testhelpers.SpecSignatureTest) ... ok test_function_as_instance_attribute (tests.testhelpers.SpecSignatureTest) ... ok test_inherit (tests.testhelpers.SpecSignatureTest) ... ok test_magic_methods (tests.testhelpers.SpecSignatureTest) ... ok test_method_calls (tests.testhelpers.SpecSignatureTest) ... ok test_mocking_unbound_methods (tests.testhelpers.SpecSignatureTest) ... ok test_old_style_class_with_no_init (tests.testhelpers.SpecSignatureTest) ... ok test_old_style_classes (tests.testhelpers.SpecSignatureTest) ... ok test_recursive (tests.testhelpers.SpecSignatureTest) ... ok test_signature_callable (tests.testhelpers.SpecSignatureTest) ... ok test_signature_class (tests.testhelpers.SpecSignatureTest) ... ok test_signature_noncallable (tests.testhelpers.SpecSignatureTest) ... ok test_signature_old_style_class (tests.testhelpers.SpecSignatureTest) ... ok test_skip_attributeerrors (tests.testhelpers.SpecSignatureTest) ... ok test_spec_as_list (tests.testhelpers.SpecSignatureTest) ... ok test_spec_inheritance_for_classes (tests.testhelpers.SpecSignatureTest) ... ok test_spec_set (tests.testhelpers.SpecSignatureTest) ... ok test_args_list_contains_call_list (tests.testhelpers.TestCallList) ... ok test_call_list_str (tests.testhelpers.TestCallList) ... ok test_propertymock (tests.testhelpers.TestCallList) ... ok test_propertymock_returnvalue (tests.testhelpers.TestCallList) ... ok test_attributes_and_return_value (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_bound_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_comparison (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_deleting_magic_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_descriptor_from_class (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_dict_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_dir (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_equality (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_hash (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_iterable_as_iter_return_value (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_len_contains_iter (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_method_reset_mock (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_method_type (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_method_wrapping (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_and_spec (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_and_spec_set (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_are_magic_mocks (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_methods_isolated_between_mocks (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magic_mock_equality (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magicmock (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magicmock_defaults (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_magicmock_del (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_no_truediv (tests.testmagicmethods.TestMockingMagicMethods) ... skipped 'truediv is available in Python 2' test_non_default_magic_methods (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_nonzero (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_numeric (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_repr (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_setting_unsupported_magic_method (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_str (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_truediv (tests.testmagicmethods.TestMockingMagicMethods) ... ok test_unicode (tests.testmagicmethods.TestMockingMagicMethods) ... ok test__name__ (tests.testmock.MockTest) ... ok test_adding_child_mock (tests.testmock.MockTest) ... ok test_adding_return_value_mock (tests.testmock.MockTest) ... ok test_all (tests.testmock.MockTest) ... ok test_arg_lists (tests.testmock.MockTest) ... ok test_assert_any_call (tests.testmock.MockTest) ... ok test_assert_called_once_with (tests.testmock.MockTest) ... ok test_assert_called_with (tests.testmock.MockTest) ... ok test_assert_called_with_failure_message (tests.testmock.MockTest) ... ok test_assert_called_with_message (tests.testmock.MockTest) ... ok test_assert_has_calls (tests.testmock.MockTest) ... ok test_assert_has_calls_any_order (tests.testmock.MockTest) ... ok test_attach_mock (tests.testmock.MockTest) ... ok test_attach_mock_return_value (tests.testmock.MockTest) ... ok test_attribute_access_returns_mocks (tests.testmock.MockTest) ... ok test_attribute_deletion (tests.testmock.MockTest) ... ok test_attributes_have_name_and_parent_set (tests.testmock.MockTest) ... ok test_baseexceptional_side_effect (tests.testmock.MockTest) ... ok test_call (tests.testmock.MockTest) ... ok test_call_args_comparison (tests.testmock.MockTest) ... ok test_call_args_two_tuple (tests.testmock.MockTest) ... ok test_class_assignable (tests.testmock.MockTest) ... ok test_configure_mock (tests.testmock.MockTest) ... ok test_constructor (tests.testmock.MockTest) ... ok test_copy (tests.testmock.MockTest) ... ok test_dir (tests.testmock.MockTest) ... ok test_dir_from_spec (tests.testmock.MockTest) ... ok test_exceptional_side_effect (tests.testmock.MockTest) ... ok test_filter_dir (tests.testmock.MockTest) ... ok test_from_spec (tests.testmock.MockTest) ... ok test_java_exception_side_effect (tests.testmock.MockTest) ... skipped 'This test only applies to Jython' test_magic_methods_mock_calls (tests.testmock.MockTest) ... ok test_manager_mock (tests.testmock.MockTest) ... ok test_method_calls_compare_easily (tests.testmock.MockTest) ... ok test_method_calls_recorded (tests.testmock.MockTest) ... ok test_mock_add_spec (tests.testmock.MockTest) ... ok test_mock_add_spec_magic_methods (tests.testmock.MockTest) ... ok test_mock_calls (tests.testmock.MockTest) ... ok test_mock_calls_create_autospec (tests.testmock.MockTest) ... ok test_mock_parents (tests.testmock.MockTest) ... ok test_only_allowed_methods_exist (tests.testmock.MockTest) ... ok test_pickle (tests.testmock.MockTest) ... expected failure test_repr (tests.testmock.MockTest) ... ok test_repr_with_spec (tests.testmock.MockTest) ... ok test_reset_mock (tests.testmock.MockTest) ... ok test_reset_mock_recursion (tests.testmock.MockTest) ... ok test_return_value_in_constructor (tests.testmock.MockTest) ... ok test_setting_attribute_with_spec_set (tests.testmock.MockTest) ... ok test_setting_call (tests.testmock.MockTest) ... ok test_side_effect (tests.testmock.MockTest) ... ok test_side_effect_iterator (tests.testmock.MockTest) ... ok test_side_effect_iterator_exceptions (tests.testmock.MockTest) ... ok test_side_effect_setting_iterator (tests.testmock.MockTest) ... ok test_spec_class (tests.testmock.MockTest) ... ok test_spec_list_subclass (tests.testmock.MockTest) ... ok test_spec_old_style_classes (tests.testmock.MockTest) ... ok test_spec_set_old_style_classes (tests.testmock.MockTest) ... ok test_subclass_with_properties (tests.testmock.MockTest) ... ok test_subclassing (tests.testmock.MockTest) ... ok test_unicode_not_broken (tests.testmock.MockTest) ... ok test_wraps_attributes (tests.testmock.MockTest) ... ok test_wraps_call_with_nondefault_return_value (tests.testmock.MockTest) ... ok test_wraps_calls (tests.testmock.MockTest) ... ok test_autospec (tests.testpatch.PatchTest) ... ok test_autospec_function (tests.testpatch.PatchTest) ... ok test_autospec_inherits (tests.testpatch.PatchTest) ... ok test_autospec_keywords (tests.testpatch.PatchTest) ... ok test_autospec_name (tests.testpatch.PatchTest) ... ok test_autospec_with_new (tests.testpatch.PatchTest) ... ok test_autospec_with_object (tests.testpatch.PatchTest) ... ok test_callable_spec_as_list (tests.testpatch.PatchTest) ... ok test_create_and_specs (tests.testpatch.PatchTest) ... ok test_falsey_spec (tests.testpatch.PatchTest) ... ok test_get_only_proxy (tests.testpatch.PatchTest) ... ok test_get_set_delete_proxy (tests.testpatch.PatchTest) ... ok test_mock_calls_with_patch (tests.testpatch.PatchTest) ... ok test_multiple_patchobject (tests.testpatch.PatchTest) ... ok test_multiple_specs (tests.testpatch.PatchTest) ... ok test_name_preserved (tests.testpatch.PatchTest) ... ok test_nested_patch_failure (tests.testpatch.PatchTest) ... ok test_nested_patch_with_spec_as_list (tests.testpatch.PatchTest) ... ok test_new_callable_class_decorating (tests.testpatch.PatchTest) ... ok test_new_callable_create (tests.testpatch.PatchTest) ... ok test_new_callable_failure (tests.testpatch.PatchTest) ... ok test_new_callable_incompatible_with_autospec (tests.testpatch.PatchTest) ... ok test_new_callable_incompatible_with_new (tests.testpatch.PatchTest) ... ok test_new_callable_inherit_for_mocks (tests.testpatch.PatchTest) ... ok test_new_callable_inherit_non_mock (tests.testpatch.PatchTest) ... ok test_new_callable_keyword_arguments (tests.testpatch.PatchTest) ... ok test_new_callable_patch (tests.testpatch.PatchTest) ... ok test_new_callable_patch_object (tests.testpatch.PatchTest) ... ok test_new_callable_spec (tests.testpatch.PatchTest) ... ok test_not_callable_spec_as_list (tests.testpatch.PatchTest) ... ok test_object_lookup_is_quite_lazy (tests.testpatch.PatchTest) ... ok test_patch (tests.testpatch.PatchTest) ... ok test_patch_class_acts_with_spec_is_inherited (tests.testpatch.PatchTest) ... ok test_patch_class_attribute (tests.testpatch.PatchTest) ... ok test_patch_class_decorator (tests.testpatch.PatchTest) ... ok test_patch_descriptor (tests.testpatch.PatchTest) ... expected failure test_patch_dict (tests.testpatch.PatchTest) ... ok test_patch_dict_class_decorator (tests.testpatch.PatchTest) ... ok test_patch_dict_keyword_args (tests.testpatch.PatchTest) ... ok test_patch_dict_start_stop (tests.testpatch.PatchTest) ... ok test_patch_dict_test_prefix (tests.testpatch.PatchTest) ... ok test_patch_dict_with_clear (tests.testpatch.PatchTest) ... ok test_patch_dict_with_container_object (tests.testpatch.PatchTest) ... ok test_patch_dict_with_container_object_and_clear (tests.testpatch.PatchTest) ... ok test_patch_dict_with_string (tests.testpatch.PatchTest) ... ok test_patch_imports_lazily (tests.testpatch.PatchTest) ... ok test_patch_keyword_args (tests.testpatch.PatchTest) ... ok test_patch_local (tests.testpatch.PatchTest) ... ok test_patch_multiple (tests.testpatch.PatchTest) ... ok test_patch_multiple_create (tests.testpatch.PatchTest) ... ok test_patch_multiple_create_mocks (tests.testpatch.PatchTest) ... ok test_patch_multiple_create_mocks_different_order (tests.testpatch.PatchTest) ... ok test_patch_multiple_create_mocks_patcher (tests.testpatch.PatchTest) ... ok test_patch_multiple_decorating_class (tests.testpatch.PatchTest) ... ok test_patch_multiple_failure (tests.testpatch.PatchTest) ... ok test_patch_multiple_new_callable (tests.testpatch.PatchTest) ... ok test_patch_multiple_new_callable_failure (tests.testpatch.PatchTest) ... ok test_patch_multiple_no_kwargs (tests.testpatch.PatchTest) ... ok test_patch_multiple_spec_set (tests.testpatch.PatchTest) ... ok test_patch_multiple_stacked_decorators (tests.testpatch.PatchTest) ... ok test_patch_multiple_string_subclasses (tests.testpatch.PatchTest) ... ok test_patch_nested_autospec_repr (tests.testpatch.PatchTest) ... ok test_patch_object_keyword_args (tests.testpatch.PatchTest) ... ok test_patch_object_with_spec_as_boolean (tests.testpatch.PatchTest) ... ok test_patch_propogrates_exc_on_exit (tests.testpatch.PatchTest) ... ok test_patch_slots (tests.testpatch.PatchTest) ... ok test_patch_spec_set (tests.testpatch.PatchTest) ... ok test_patch_start_stop (tests.testpatch.PatchTest) ... ok test_patch_stopall (tests.testpatch.PatchTest) ... ok test_patch_test_prefix (tests.testpatch.PatchTest) ... ok test_patch_with_create_mocks_non_existent_attributes (tests.testpatch.PatchTest) ... ok test_patch_with_exception (tests.testpatch.PatchTest) ... ok test_patch_with_spec (tests.testpatch.PatchTest) ... ok test_patch_with_spec_as_boolean (tests.testpatch.PatchTest) ... ok test_patch_with_spec_as_list (tests.testpatch.PatchTest) ... ok test_patch_with_spec_mock_repr (tests.testpatch.PatchTest) ... ok test_patch_with_static_methods (tests.testpatch.PatchTest) ... ok test_patch_wont_create_by_default (tests.testpatch.PatchTest) ... ok test_patchobject_class_decorator (tests.testpatch.PatchTest) ... ok test_patchobject_start_stop (tests.testpatch.PatchTest) ... ok test_patchobject_twice (tests.testpatch.PatchTest) ... ok test_patchobject_with_create_mocks_non_existent_attributes (tests.testpatch.PatchTest) ... ok test_patchobject_with_default_mock (tests.testpatch.PatchTest) ... ok test_patchobject_with_none (tests.testpatch.PatchTest) ... ok test_patchobject_with_spec (tests.testpatch.PatchTest) ... ok test_patchobject_with_spec_as_list (tests.testpatch.PatchTest) ... ok test_patchobject_wont_create_by_default (tests.testpatch.PatchTest) ... ok test_single_patchobject (tests.testpatch.PatchTest) ... ok test_spec_set_inherit (tests.testpatch.PatchTest) ... ok test_spec_set_true (tests.testpatch.PatchTest) ... ok test_specs_false_instead_of_none (tests.testpatch.PatchTest) ... ok test_stop_without_start (tests.testpatch.PatchTest) ... ok test_tracebacks (tests.testpatch.PatchTest) ... ok test_wrapped_patch (tests.testpatch.PatchTest) ... ok test_wrapped_patch_dict (tests.testpatch.PatchTest) ... ok test_wrapped_patch_multiple (tests.testpatch.PatchTest) ... ok test_wrapped_patch_object (tests.testpatch.PatchTest) ... ok testBases (tests.testsentinel.SentinelTest) ... ok testDEFAULT (tests.testsentinel.SentinelTest) ... ok testSentinelName (tests.testsentinel.SentinelTest) ... ok testSentinels (tests.testsentinel.SentinelTest) ... ok test_explicit_mock (tests._testwith.TestMockOpen) ... ok test_mock_open (tests._testwith.TestMockOpen) ... ok test_mock_open_context_manager (tests._testwith.TestMockOpen) ... ok test_read_data (tests._testwith.TestMockOpen) ... ok testContextManagerMocking (tests._testwith.WithTest) ... ok test_context_manager_with_magic_mock (tests._testwith.WithTest) ... ok test_dict_context_manager (tests._testwith.WithTest) ... ok test_patch_object_with_statement (tests._testwith.WithTest) ... ok test_with_statement (tests._testwith.WithTest) ... ok test_with_statement_as (tests._testwith.WithTest) ... ok test_with_statement_exception (tests._testwith.WithTest) ... ok test_with_statement_imbricated (tests._testwith.WithTest) ... ok test_with_statement_nested (tests._testwith.WithTest) ... ok test_with_statement_same_attribute (tests._testwith.WithTest) ... ok test_with_statement_specified (tests._testwith.WithTest) ... ok ---------------------------------------------------------------------- Ran 278 tests in 0.491s OK (skipped=3, expected failures=3) + exit 0 Processing files: python2-mock-1.0.1-9.2.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.NsF7yt + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + DOCDIR=/builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/doc/python2-mock-1.0.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/doc/python2-mock-1.0.1 + cp -pr docs/changelog.txt docs/compare.txt docs/conf.py docs/examples.txt docs/getting-started.txt docs/helpers.txt docs/index.txt docs/magicmock.txt docs/mock.txt docs/patch.txt docs/sentinel.txt /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/doc/python2-mock-1.0.1 + cp -pr README.txt /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/doc/python2-mock-1.0.1 + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/doc/python2-mock-1.0.1 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.2weQeg + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/licenses/python2-mock-1.0.1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/licenses/python2-mock-1.0.1 + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch/usr/share/licenses/python2-mock-1.0.1 + exit 0 Provides: python-mock = 1.0.1-9.2.el7 python2-mock = 1.0.1-9.2.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch Wrote: /builddir/build/RPMS/python2-mock-1.0.1-9.2.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.AiJuJQ + umask 022 + cd /builddir/build/BUILD + cd mock-1.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-mock-1.0.1-9.2.el7.noarch + exit 0 Child return code was: 0 LEAVE do -->