Mock Version: 1.3.4 Mock Version: 1.3.4 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-chai.spec'], nspawn_args=[]shell=Falseuid=993env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/infra8-buildtools-common-el8-build-89554-656496/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-chai.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False sh: /usr/bin/python2: No such file or directory sh: /usr/bin/python2: No such file or directory Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-chai-1.1.2-12.el8.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-chai.spec'], nspawn_args=[]shell=Falseuid=993env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/infra8-buildtools-common-el8-build-89554-656496/root'gid=135user='mockbuild'timeout=86400logger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-chai.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6bEauW + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf chai-1.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/chai-1.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd chai-1.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf chai.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.I666RH + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/chai copying chai/chai.py -> build/lib/chai copying chai/__init__.py -> build/lib/chai copying chai/exception.py -> build/lib/chai copying chai/_termcolor.py -> build/lib/chai copying chai/python2.py -> build/lib/chai copying chai/stub.py -> build/lib/chai copying chai/spy.py -> build/lib/chai copying chai/expectation.py -> build/lib/chai copying chai/mock.py -> build/lib/chai copying chai/comparators.py -> build/lib/chai + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Y5mpPy + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch ++ dirname /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch + cd chai-1.1.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/chai.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/__init__.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/exception.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/_termcolor.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/python2.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/stub.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/spy.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/expectation.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/mock.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai copying build/lib/chai/comparators.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/chai.py to chai.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/exception.py to exception.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/_termcolor.py to _termcolor.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/python2.py to python2.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/stub.py to stub.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/spy.py to spy.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/expectation.py to expectation.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/mock.py to mock.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai/comparators.py to comparators.pyc writing byte-compilation script '/tmp/tmp15llNy.py' /usr/bin/python2 -O /tmp/tmp15llNy.py removing /tmp/tmp15llNy.py running install_egg_info running egg_info creating chai.egg-info writing chai.egg-info/PKG-INFO writing top-level names to chai.egg-info/top_level.txt writing dependency_links to chai.egg-info/dependency_links.txt writing manifest file 'chai.egg-info/SOURCES.txt' reading manifest file 'chai.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'scripts' writing manifest file 'chai.egg-info/SOURCES.txt' Copying chai.egg-info to /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7/site-packages/chai-1.1.2-py2.7.egg-info running install_scripts + rm build/lib/chai/python2.py + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/chai.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/__init__.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/exception.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/_termcolor.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/stub.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/spy.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/expectation.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/mock.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai copying build/lib/chai/comparators.py -> /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/chai.py to chai.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/exception.py to exception.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/_termcolor.py to _termcolor.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/stub.py to stub.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/spy.py to spy.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/expectation.py to expectation.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/mock.py to mock.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai/comparators.py to comparators.cpython-36.pyc writing byte-compilation script '/tmp/tmpky41eygr.py' /usr/bin/python3.6 /tmp/tmpky41eygr.py removing /tmp/tmpky41eygr.py running install_egg_info running egg_info writing chai.egg-info/PKG-INFO writing dependency_links to chai.egg-info/dependency_links.txt writing top-level names to chai.egg-info/top_level.txt reading manifest file 'chai.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'scripts' writing manifest file 'chai.egg-info/SOURCES.txt' Copying chai.egg-info to /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6/site-packages/chai-1.1.2-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j40 --strict-build-id -m -i --build-id-seed 1.1.2-12.el8 --unique-debug-suffix -1.1.2-12.el8.noarch --unique-debug-src-base python-chai-1.1.2-12.el8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/chai-1.1.2 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python Bytecompiling .py files below /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/lib/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/bin/python3.6 + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.f9TIzr + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + /usr/bin/python2 setup.py test running test running egg_info writing chai.egg-info/PKG-INFO writing top-level names to chai.egg-info/top_level.txt writing dependency_links to chai.egg-info/dependency_links.txt reading manifest file 'chai.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'scripts' writing manifest file 'chai.egg-info/SOURCES.txt' running build_ext test_add_to_list_with_mock_object (tests.sample_test.SampleBaseTest) ... ok test_add_to_list_with_module_mock_object (tests.sample_test.SampleBaseTest) ... ok test_almost_equals_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_allof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_anyof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_equals_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_is_a_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_notof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_notof_comparator_using_types (tests.sample_test.SampleBaseTest) ... ok test_expect_callback (tests.sample_test.SampleBaseTest) ... ok test_expect_unbound_method_acts_as_any_instance (tests.sample_test.SampleBaseTest) ... ok test_expects_any_order_without_count_modifiers (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_as_last_expectation (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_with_other_expectation_and_anyorder (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_with_other_expectation_and_no_anyorder (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_most (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_can_be_used_for_iterative_testing (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_raises (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_returns (tests.sample_test.SampleBaseTest) ... ok test_expects_class_method (tests.sample_test.SampleBaseTest) ... ok test_expects_on_builtin_function (tests.sample_test.SampleBaseTest) ... ok test_expects_property (tests.sample_test.SampleBaseTest) ... ok test_function_comparator (tests.sample_test.SampleBaseTest) ... ok test_ignore_arg (tests.sample_test.SampleBaseTest) ... ok test_in_comparator (tests.sample_test.SampleBaseTest) ... ok test_is_comparator (tests.sample_test.SampleBaseTest) ... ok test_regex_comparator (tests.sample_test.SampleBaseTest) ... ok test_spy (tests.sample_test.SampleBaseTest) ... ok test_spy_on_method_wrapper (tests.sample_test.SampleBaseTest) ... ok test_stub_bound_method_raises_unexpectedcall (tests.sample_test.SampleBaseTest) ... ok test_stub_class_method (tests.sample_test.SampleBaseTest) ... ok test_stub_unbound_method_acts_as_no_instance (tests.sample_test.SampleBaseTest) ... ok test_var_comparator (tests.sample_test.SampleBaseTest) ... ok tests_expects_bound_method_any_order_with_fixed_maxes (tests.sample_test.SampleBaseTest) ... ok tests_expects_bound_method_any_order_with_mins (tests.sample_test.SampleBaseTest) ... ok test_stub_base_class_expect_child_classmethod (tests.sample_test.SampleChildTest) ... ok test_mod_func_2_as_obj_name (tests.sample_test.SampleModuleTest) ... ok test_mod_func_2_as_obj_ref (tests.sample_test.SampleModuleTest) ... ok test_call_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_call_raises_unexpectedcall_when_unstubbed (tests.mock_test.MockTest) ... ok test_container_interface_when_stubbed (tests.mock_test.MockTest) ... ok test_container_interface_when_unstubbed (tests.mock_test.MockTest) ... ok test_context_manager_interface_when_stubbed (tests.mock_test.MockTest) ... ok test_context_manager_interface_when_unstubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_not_raises_unexpectedcall_multiple_depths (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_raises_unexpectedcall_when_unstubbed (tests.mock_test.MockTest) ... ok test_get_attribute_caches_auto_methods (tests.mock_test.MockTest) ... ok test_get_attribute_creates_a_mock_method (tests.mock_test.MockTest) ... ok test_get_attribute_does_not_overwrite_existing_attr (tests.mock_test.MockTest) ... ok test_get_attribute_supports_multiple_depths (tests.mock_test.MockTest) ... ok test_nonzero_returns_true_when_unstubbed (tests.mock_test.MockTest) ... ok test_nonzero_when_stubbed (tests.mock_test.MockTest) ... ok test_call_orig_raises_notimplemented (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_all_expectations_closed (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_closed_and_no_matching (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_no_expectations (tests.stub_test.StubClassTest) ... ok test_call_when_args_match (tests.stub_test.StubClassTest) ... ok test_expect (tests.stub_test.StubClassTest) ... ok test_init (tests.stub_test.StubClassTest) ... ok test_teardown (tests.stub_test.StubClassTest) ... ok test_unment_expectations (tests.stub_test.StubClassTest) ... ok test_call_orig (tests.stub_test.StubFunctionTest) ... ok test_init (tests.stub_test.StubFunctionTest) ... ok test_init_with_object_method (tests.stub_test.StubFunctionTest) ... ok test_name (tests.stub_test.StubFunctionTest) ... ok test_teardown (tests.stub_test.StubFunctionTest) ... ok test_teardown_on_object_method (tests.stub_test.StubFunctionTest) ... ok test_call_orig (tests.stub_test.StubMethodTest) ... ok test_init (tests.stub_test.StubMethodTest) ... ok test_name (tests.stub_test.StubMethodTest) ... ok test_teardown (tests.stub_test.StubMethodTest) ... ok test_teardown_of_bound_instance_methods_exported_in_module (tests.stub_test.StubMethodTest) ... ok test_teardown_of_classmethods (tests.stub_test.StubMethodTest) ... ok test_call_orig (tests.stub_test.StubMethodWrapperTest) ... ok test_init (tests.stub_test.StubMethodWrapperTest) ... ok test_name (tests.stub_test.StubMethodWrapperTest) ... ok test_teardown (tests.stub_test.StubMethodWrapperTest) ... ok test_call (tests.stub_test.StubNewTest) ... ok test_call_orig (tests.stub_test.StubNewTest) ... ok test_init (tests.stub_test.StubNewTest) ... ok test_new (tests.stub_test.StubNewTest) ... ok test_teardown (tests.stub_test.StubNewTest) ... ok test_teardown_on_custom_new (tests.stub_test.StubNewTest) ... ok test_name (tests.stub_test.StubPropertyTest) ... ok test_stub_bound_method_for_classmethod_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_classmethod_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_instance_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_instance_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_method_wrapper_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_method_wrapper_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_mock_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_mock_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_module_function_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_module_function_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_property_on_class_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_property_on_class_with_attr_name_applies_to_instance (tests.stub_test.StubTest) ... ok test_stub_property_on_instance_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_deleter (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_reader (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_setter (tests.stub_test.StubTest) ... ok test_stub_type_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_unbound_method_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_unbound_method_with_obj_ref (tests.stub_test.StubTest) ... ok test_call_acts_as_any_instance (tests.stub_test.StubUnboundMethodTest) ... ok test_init (tests.stub_test.StubUnboundMethodTest) ... ok test_name (tests.stub_test.StubUnboundMethodTest) ... ok test_teardown (tests.stub_test.StubUnboundMethodTest) ... ok test_call_orig (tests.stub_test.StubWrapperDescriptionTest) ... ok test_init (tests.stub_test.StubWrapperDescriptionTest) ... ok test_name (tests.stub_test.StubWrapperDescriptionTest) ... ok test_teardown (tests.stub_test.StubWrapperDescriptionTest) ... ok test_iterative_expectations (tests.functional_test.FunctionalTest) ... ok test_properties_using_attr_name_on_an_instance_only (tests.functional_test.FunctionalTest) ... ok test_properties_using_obj_ref_on_a_class_and_using_get_first (tests.functional_test.FunctionalTest) ... ok test_properties_using_obj_ref_on_a_class_and_using_set_first (tests.functional_test.FunctionalTest) ... ok test_validate_with_args (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_args_and_kwargs (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_args_that_are_different_length (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_kwargs (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_kwargs_that_are_different (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_no_args (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_no_args_and_some_params (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_any_order (tests.expectation_test.ExpectationRule) ... ok test_any_order_with_no_max (tests.expectation_test.ExpectationRule) ... ok test_at_least (tests.expectation_test.ExpectationRule) ... ok test_at_least_once (tests.expectation_test.ExpectationRule) ... ok test_at_most (tests.expectation_test.ExpectationRule) ... ok test_at_most_once (tests.expectation_test.ExpectationRule) ... ok test_close (tests.expectation_test.ExpectationRule) ... ok test_closed (tests.expectation_test.ExpectationRule) ... ok test_closed_with_count (tests.expectation_test.ExpectationRule) ... ok test_default_expectation (tests.expectation_test.ExpectationRule) ... ok test_match_with_any_args (tests.expectation_test.ExpectationRule) ... ok test_match_with_args (tests.expectation_test.ExpectationRule) ... ok test_match_with_both_args_and_kwargs (tests.expectation_test.ExpectationRule) ... ok test_match_with_kwargs (tests.expectation_test.ExpectationRule) ... ok test_once (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_exception_class (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_exception_instance (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_value (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_variable (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_variable_in_tuple (tests.expectation_test.ExpectationRule) ... ok test_side_effect (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_an_exception (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_args (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_passed_args (tests.expectation_test.ExpectationRule) ... ok test_teardown (tests.expectation_test.ExpectationRule) ... ok test_times (tests.expectation_test.ExpectationRule) ... ok test_with_raises_exceptions (tests.expectation_test.ExpectationRule) ... ok test_with_returns_return_value (tests.expectation_test.ExpectationRule) ... ok test_is_a_unicode_test (tests.comparator_py2.ComparatorsPy2Test) ... ok test_all (tests.comparator_test.ComparatorsTest) ... ok test_all_repr (tests.comparator_test.ComparatorsTest) ... ok test_almost_equal (tests.comparator_test.ComparatorsTest) ... ok test_almost_equal_repr (tests.comparator_test.ComparatorsTest) ... ok test_any (tests.comparator_test.ComparatorsTest) ... ok test_any_repr (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_builds_equals (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_is_a (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_passes_comparators (tests.comparator_test.ComparatorsTest) ... ok test_contains (tests.comparator_test.ComparatorsTest) ... ok test_contains_repr (tests.comparator_test.ComparatorsTest) ... ok test_eq (tests.comparator_test.ComparatorsTest) ... ok test_equals (tests.comparator_test.ComparatorsTest) ... ok test_equals_repr (tests.comparator_test.ComparatorsTest) ... ok test_function (tests.comparator_test.ComparatorsTest) ... ok test_function_repr (tests.comparator_test.ComparatorsTest) ... ok test_ignore (tests.comparator_test.ComparatorsTest) ... ok test_ignore_repr (tests.comparator_test.ComparatorsTest) ... ok test_in (tests.comparator_test.ComparatorsTest) ... ok test_in_repr (tests.comparator_test.ComparatorsTest) ... ok test_is (tests.comparator_test.ComparatorsTest) ... ok test_is_a (tests.comparator_test.ComparatorsTest) ... ok test_is_a_format_name (tests.comparator_test.ComparatorsTest) ... ok test_is_a_repr (tests.comparator_test.ComparatorsTest) ... ok test_is_repr (tests.comparator_test.ComparatorsTest) ... ok test_like_init (tests.comparator_test.ComparatorsTest) ... ok test_like_repr (tests.comparator_test.ComparatorsTest) ... ok test_like_test (tests.comparator_test.ComparatorsTest) ... ok test_no_repr (tests.comparator_test.ComparatorsTest) ... ok test_not (tests.comparator_test.ComparatorsTest) ... ok test_regex (tests.comparator_test.ComparatorsTest) ... ok test_regex_repr (tests.comparator_test.ComparatorsTest) ... ok test_variable (tests.comparator_test.ComparatorsTest) ... ok test_variable_repr (tests.comparator_test.ComparatorsTest) ... ok test_chai_class_use_metaclass (tests.chai_test.ChaiTest) ... ok test_expect (tests.chai_test.ChaiTest) ... ok test_mock_no_binding (tests.chai_test.ChaiTest) ... ok test_mock_with_attr_binding (tests.chai_test.ChaiTest) ... ok test_raises_if_unmet_expectations (tests.chai_test.ChaiTest) ... ok test_runs_unmet_expectations (tests.chai_test.ChaiTest) ... ok test_setup (tests.chai_test.ChaiTest) ... ok test_stub (tests.chai_test.ChaiTest) ... ok test_teardown_closes_out_stubs_and_mocks (tests.chai_test.ChaiTest) ... ok test_local_definitions_work_and_are_global (tests.chai_test.CupOf) ... ok test_something (tests.chai_test.CupOf) ... ok test_is_a_unicode_test (tests.comparator_py2.ComparatorsPy2Test) ... ok ---------------------------------------------------------------------- Ran 199 tests in 0.024s OK + rm tests/comparator_py2.py + /usr/bin/python3.6 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing chai.egg-info/PKG-INFO writing dependency_links to chai.egg-info/dependency_links.txt writing top-level names to chai.egg-info/top_level.txt reading manifest file 'chai.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching '*' under directory 'scripts' writing manifest file 'chai.egg-info/SOURCES.txt' running build_ext test_add_to_list_with_mock_object (tests.sample_test.SampleBaseTest) ... ok test_add_to_list_with_module_mock_object (tests.sample_test.SampleBaseTest) ... ok test_almost_equals_comparator (tests.sample_test.SampleBaseTest) ... /builddir/build/BUILD/chai-1.1.2/tests/sample_test.py:265: DeprecationWarning: Please use assertEqual instead. assert_equals(obj.bound_method(10.12), 100) ok test_expect_bound_method_with_allof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_anyof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_equals_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_is_a_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_notof_comparator (tests.sample_test.SampleBaseTest) ... ok test_expect_bound_method_with_notof_comparator_using_types (tests.sample_test.SampleBaseTest) ... ok test_expect_callback (tests.sample_test.SampleBaseTest) ... ok test_expect_unbound_method_acts_as_any_instance (tests.sample_test.SampleBaseTest) ... ok test_expects_any_order_without_count_modifiers (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_as_last_expectation (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_with_other_expectation_and_anyorder (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_least_with_other_expectation_and_no_anyorder (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_at_most (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_can_be_used_for_iterative_testing (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_raises (tests.sample_test.SampleBaseTest) ... ok test_expects_bound_method_returns (tests.sample_test.SampleBaseTest) ... ok test_expects_class_method (tests.sample_test.SampleBaseTest) ... ok test_expects_on_builtin_function (tests.sample_test.SampleBaseTest) ... ok test_expects_property (tests.sample_test.SampleBaseTest) ... ok test_function_comparator (tests.sample_test.SampleBaseTest) ... ok test_ignore_arg (tests.sample_test.SampleBaseTest) ... ok test_in_comparator (tests.sample_test.SampleBaseTest) ... ok test_is_comparator (tests.sample_test.SampleBaseTest) ... ok test_regex_comparator (tests.sample_test.SampleBaseTest) ... ok test_spy (tests.sample_test.SampleBaseTest) ... ok test_spy_on_method_wrapper (tests.sample_test.SampleBaseTest) ... ok test_stub_bound_method_raises_unexpectedcall (tests.sample_test.SampleBaseTest) ... ok test_stub_class_method (tests.sample_test.SampleBaseTest) ... ok test_stub_unbound_method_acts_as_no_instance (tests.sample_test.SampleBaseTest) ... ok test_var_comparator (tests.sample_test.SampleBaseTest) ... ok tests_expects_bound_method_any_order_with_fixed_maxes (tests.sample_test.SampleBaseTest) ... ok tests_expects_bound_method_any_order_with_mins (tests.sample_test.SampleBaseTest) ... ok test_stub_base_class_expect_child_classmethod (tests.sample_test.SampleChildTest) ... ok test_mod_func_2_as_obj_name (tests.sample_test.SampleModuleTest) ... ok test_mod_func_2_as_obj_ref (tests.sample_test.SampleModuleTest) ... ok test_call_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... /builddir/build/BUILD/chai-1.1.2/tests/mock_test.py:64: DeprecationWarning: Please use assertEqual instead. self.assertEquals( 'success', m() ) ok test_call_raises_unexpectedcall_when_unstubbed (tests.mock_test.MockTest) ... ok test_container_interface_when_stubbed (tests.mock_test.MockTest) ... ok test_container_interface_when_unstubbed (tests.mock_test.MockTest) ... ok test_context_manager_interface_when_stubbed (tests.mock_test.MockTest) ... ok test_context_manager_interface_when_unstubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_not_raises_unexpectedcall_multiple_depths (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_not_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_raises_unexpectedcall_when_stubbed (tests.mock_test.MockTest) ... ok test_get_attribute_auto_method_raises_unexpectedcall_when_unstubbed (tests.mock_test.MockTest) ... ok test_get_attribute_caches_auto_methods (tests.mock_test.MockTest) ... ok test_get_attribute_creates_a_mock_method (tests.mock_test.MockTest) ... ok test_get_attribute_does_not_overwrite_existing_attr (tests.mock_test.MockTest) ... ok test_get_attribute_supports_multiple_depths (tests.mock_test.MockTest) ... ok test_nonzero_returns_true_when_unstubbed (tests.mock_test.MockTest) ... ok test_nonzero_when_stubbed (tests.mock_test.MockTest) ... ok test_call_orig_raises_notimplemented (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_all_expectations_closed (tests.stub_test.StubClassTest) ... ok test_call_raises_unexpected_call_when_closed_and_no_matching (tests.stub_test.StubClassTest) ... /builddir/build/BUILD/chai-1.1.2/tests/stub_test.py:294: DeprecationWarning: Please use assertEqual instead. self.assertEquals(0, s._expectations[0]._match_count) ok test_call_raises_unexpected_call_when_no_expectations (tests.stub_test.StubClassTest) ... ok test_call_when_args_match (tests.stub_test.StubClassTest) ... ok test_expect (tests.stub_test.StubClassTest) ... ok test_init (tests.stub_test.StubClassTest) ... ok test_teardown (tests.stub_test.StubClassTest) ... ok test_unment_expectations (tests.stub_test.StubClassTest) ... ok test_call_orig (tests.stub_test.StubFunctionTest) ... ok test_init (tests.stub_test.StubFunctionTest) ... ok test_init_with_object_method (tests.stub_test.StubFunctionTest) ... ok test_name (tests.stub_test.StubFunctionTest) ... ok test_teardown (tests.stub_test.StubFunctionTest) ... ok test_teardown_on_object_method (tests.stub_test.StubFunctionTest) ... /builddir/build/BUILD/chai-1.1.2/tests/stub_test.py:418: DeprecationWarning: Please use assertNotEqual instead. self.assertNotEquals(object.__new__, getattr(x, '__new__')) ok test_call_orig (tests.stub_test.StubMethodTest) ... ok test_init (tests.stub_test.StubMethodTest) ... ok test_name (tests.stub_test.StubMethodTest) ... ok test_teardown (tests.stub_test.StubMethodTest) ... ok test_teardown_of_bound_instance_methods_exported_in_module (tests.stub_test.StubMethodTest) ... ok test_teardown_of_classmethods (tests.stub_test.StubMethodTest) ... ok test_call_orig (tests.stub_test.StubMethodWrapperTest) ... ok test_init (tests.stub_test.StubMethodWrapperTest) ... ok test_name (tests.stub_test.StubMethodWrapperTest) ... ok test_teardown (tests.stub_test.StubMethodWrapperTest) ... ok test_call (tests.stub_test.StubNewTest) ... ok test_call_orig (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_init (tests.stub_test.StubNewTest) ... ok test_new (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_teardown (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_teardown_on_custom_new (tests.stub_test.StubNewTest) ... skipped "can't stub unbound methods in python 3" test_name (tests.stub_test.StubPropertyTest) ... ok test_stub_bound_method_for_classmethod_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_classmethod_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_instance_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_bound_method_for_instance_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_method_wrapper_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_method_wrapper_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_mock_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_mock_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_module_function_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_module_function_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_property_on_class_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_property_on_class_with_attr_name_applies_to_instance (tests.stub_test.StubTest) ... ok test_stub_property_on_instance_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_deleter (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_reader (tests.stub_test.StubTest) ... ok test_stub_property_with_obj_ref_for_the_setter (tests.stub_test.StubTest) ... ok test_stub_type_with_obj_ref (tests.stub_test.StubTest) ... ok test_stub_unbound_method_with_attr_name (tests.stub_test.StubTest) ... ok test_stub_unbound_method_with_obj_ref (tests.stub_test.StubTest) ... skipped "can't stub unbound methods by reference in python 3" test_call_acts_as_any_instance (tests.stub_test.StubUnboundMethodTest) ... ok test_init (tests.stub_test.StubUnboundMethodTest) ... ok test_name (tests.stub_test.StubUnboundMethodTest) ... ok test_teardown (tests.stub_test.StubUnboundMethodTest) ... ok test_call_orig (tests.stub_test.StubWrapperDescriptionTest) ... ok test_init (tests.stub_test.StubWrapperDescriptionTest) ... ok test_name (tests.stub_test.StubWrapperDescriptionTest) ... ok test_teardown (tests.stub_test.StubWrapperDescriptionTest) ... ok test_iterative_expectations (tests.functional_test.FunctionalTest) ... /builddir/build/BUILD/chai-1.1.2/tests/functional_test.py:68: DeprecationWarning: Please use assertEqual instead. assert_equals( 3, f.bar(3) ) ok test_properties_using_attr_name_on_an_instance_only (tests.functional_test.FunctionalTest) ... ok test_properties_using_obj_ref_on_a_class_and_using_get_first (tests.functional_test.FunctionalTest) ... ok test_properties_using_obj_ref_on_a_class_and_using_set_first (tests.functional_test.FunctionalTest) ... ok test_validate_with_args (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_args_and_kwargs (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_args_that_are_different_length (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_kwargs (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_kwargs_that_are_different (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_no_args (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_validate_with_no_args_and_some_params (tests.expectation_test.ArgumentsExpectationRuleTest) ... ok test_any_order (tests.expectation_test.ExpectationRule) ... /builddir/build/BUILD/chai-1.1.2/tests/expectation_test.py:128: DeprecationWarning: Please use assertEqual instead. self.assertEquals( exp, exp.any_order().times(1) ) ok test_any_order_with_no_max (tests.expectation_test.ExpectationRule) ... ok test_at_least (tests.expectation_test.ExpectationRule) ... ok test_at_least_once (tests.expectation_test.ExpectationRule) ... ok test_at_most (tests.expectation_test.ExpectationRule) ... ok test_at_most_once (tests.expectation_test.ExpectationRule) ... ok test_close (tests.expectation_test.ExpectationRule) ... ok test_closed (tests.expectation_test.ExpectationRule) ... ok test_closed_with_count (tests.expectation_test.ExpectationRule) ... ok test_default_expectation (tests.expectation_test.ExpectationRule) ... ok test_match_with_any_args (tests.expectation_test.ExpectationRule) ... ok test_match_with_args (tests.expectation_test.ExpectationRule) ... ok test_match_with_both_args_and_kwargs (tests.expectation_test.ExpectationRule) ... ok test_match_with_kwargs (tests.expectation_test.ExpectationRule) ... ok test_once (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_exception_class (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_exception_instance (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_value (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_variable (tests.expectation_test.ExpectationRule) ... ok test_return_value_with_variable_in_tuple (tests.expectation_test.ExpectationRule) ... ok test_side_effect (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_an_exception (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_args (tests.expectation_test.ExpectationRule) ... ok test_side_effect_with_passed_args (tests.expectation_test.ExpectationRule) ... ok test_teardown (tests.expectation_test.ExpectationRule) ... ok test_times (tests.expectation_test.ExpectationRule) ... ok test_with_raises_exceptions (tests.expectation_test.ExpectationRule) ... ok test_with_returns_return_value (tests.expectation_test.ExpectationRule) ... ok test_all (tests.comparator_test.ComparatorsTest) ... /builddir/build/BUILD/chai-1.1.2/tests/comparator_test.py:152: DeprecationWarning: Please use assertEqual instead. self.assertEquals( 'foo'.encode('ascii'), bytearray('foo'.encode('ascii')) ) ok test_all_repr (tests.comparator_test.ComparatorsTest) ... ok test_almost_equal (tests.comparator_test.ComparatorsTest) ... ok test_almost_equal_repr (tests.comparator_test.ComparatorsTest) ... ok test_any (tests.comparator_test.ComparatorsTest) ... ok test_any_repr (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_builds_equals (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_is_a (tests.comparator_test.ComparatorsTest) ... ok test_build_comparators_passes_comparators (tests.comparator_test.ComparatorsTest) ... ok test_contains (tests.comparator_test.ComparatorsTest) ... ok test_contains_repr (tests.comparator_test.ComparatorsTest) ... ok test_eq (tests.comparator_test.ComparatorsTest) ... ok test_equals (tests.comparator_test.ComparatorsTest) ... ok test_equals_repr (tests.comparator_test.ComparatorsTest) ... ok test_function (tests.comparator_test.ComparatorsTest) ... ok test_function_repr (tests.comparator_test.ComparatorsTest) ... ok test_ignore (tests.comparator_test.ComparatorsTest) ... ok test_ignore_repr (tests.comparator_test.ComparatorsTest) ... ok test_in (tests.comparator_test.ComparatorsTest) ... ok test_in_repr (tests.comparator_test.ComparatorsTest) ... ok test_is (tests.comparator_test.ComparatorsTest) ... ok test_is_a (tests.comparator_test.ComparatorsTest) ... ok test_is_a_format_name (tests.comparator_test.ComparatorsTest) ... ok test_is_a_repr (tests.comparator_test.ComparatorsTest) ... ok test_is_repr (tests.comparator_test.ComparatorsTest) ... ok test_like_init (tests.comparator_test.ComparatorsTest) ... ok test_like_repr (tests.comparator_test.ComparatorsTest) ... ok test_like_test (tests.comparator_test.ComparatorsTest) ... ok test_no_repr (tests.comparator_test.ComparatorsTest) ... ok test_not (tests.comparator_test.ComparatorsTest) ... ok test_regex (tests.comparator_test.ComparatorsTest) ... ok test_regex_repr (tests.comparator_test.ComparatorsTest) ... ok test_variable (tests.comparator_test.ComparatorsTest) ... ok test_variable_repr (tests.comparator_test.ComparatorsTest) ... ok test_chai_class_use_metaclass (tests.chai_test.ChaiTest) ... ok test_expect (tests.chai_test.ChaiTest) ... /builddir/build/BUILD/chai-1.1.2/tests/chai_test.py:106: DeprecationWarning: Please use assertEqual instead. self.assertEquals( deque(), case._stubs ) ok test_mock_no_binding (tests.chai_test.ChaiTest) ... ok test_mock_with_attr_binding (tests.chai_test.ChaiTest) ... ok test_raises_if_unmet_expectations (tests.chai_test.ChaiTest) ... ok test_runs_unmet_expectations (tests.chai_test.ChaiTest) ... ok test_setup (tests.chai_test.ChaiTest) ... ok test_stub (tests.chai_test.ChaiTest) ... ok test_teardown_closes_out_stubs_and_mocks (tests.chai_test.ChaiTest) ... ok test_local_definitions_work_and_are_global (tests.chai_test.CupOf) ... ok test_something (tests.chai_test.CupOf) ... ok ---------------------------------------------------------------------- Ran 197 tests in 0.030s OK (skipped=5) + exit 0 Processing files: python2-chai-1.1.2-12.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4xaTol + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/doc/python2-chai + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/doc/python2-chai + cp -pr README.rst /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/doc/python2-chai + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.lP2aff + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/licenses/python2-chai + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/licenses/python2-chai + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/licenses/python2-chai + exit 0 Provides: python2-chai = 1.1.2-12.el8 python2.7dist(chai) = 1.1.2 python2dist(chai) = 1.1.2 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 Processing files: python3-chai-1.1.2-12.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.UVbwzd + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + DOCDIR=/builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/doc/python3-chai + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/doc/python3-chai + cp -pr README.rst /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/doc/python3-chai + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xzRXUb + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/licenses/python3-chai + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/licenses/python3-chai + cp -pr LICENSE.txt /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch/usr/share/licenses/python3-chai + exit 0 Provides: python3-chai = 1.1.2-12.el8 python3.6dist(chai) = 1.1.2 python3dist(chai) = 1.1.2 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) = 3.6 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch Wrote: /builddir/build/RPMS/python2-chai-1.1.2-12.el8.noarch.rpm Wrote: /builddir/build/RPMS/python3-chai-1.1.2-12.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.oWg8Fe + umask 022 + cd /builddir/build/BUILD + cd chai-1.1.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-chai-1.1.2-12.el8.noarch + exit 0 Child return code was: 0