Mock Version: 1.4.16 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'], chrootPath='/var/lib/mock/1005439-epel-7-x86_64-1565894564.543972/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5anlkd2e:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5anlkd2e:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd2843b73509e45e293bae0ce20038736', '-D', '/var/lib/mock/1005439-epel-7-x86_64-1565894564.543972/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5anlkd2e:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False BUILDSTDERR: sh: /usr/bin/python2: No such file or directory BUILDSTDERR: sh: /usr/bin/python2: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-sure-1.4.11-5.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'], chrootPath='/var/lib/mock/1005439-epel-7-x86_64-1565894564.543972/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5anlkd2e:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5anlkd2e:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '70a6ef6ee2804c3abfe1501f3ab5a3d1', '-D', '/var/lib/mock/1005439-epel-7-x86_64-1565894564.543972/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5anlkd2e:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-sure.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.hTZzA1 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sure-1.4.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/sure-1.4.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd sure-1.4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf sure.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ziXM0g + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + 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/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib creating build/lib/sure copying sure/core.py -> build/lib/sure copying sure/__init__.py -> build/lib/sure copying sure/deprecated.py -> build/lib/sure copying sure/registry.py -> build/lib/sure copying sure/old.py -> build/lib/sure copying sure/terminal.py -> build/lib/sure copying sure/compat.py -> build/lib/sure copying sure/magic.py -> build/lib/sure running egg_info creating sure.egg-info writing requirements to sure.egg-info/requires.txt writing sure.egg-info/PKG-INFO writing top-level names to sure.egg-info/top_level.txt writing dependency_links to sure.egg-info/dependency_links.txt writing manifest file 'sure.egg-info/SOURCES.txt' reading manifest file 'sure.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sure.egg-info/SOURCES.txt' + sleep 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/python3.6 setup.py build '--executable=/usr/bin/python3.6 -s' running build running build_py running egg_info writing sure.egg-info/PKG-INFO writing dependency_links to sure.egg-info/dependency_links.txt writing requirements to sure.egg-info/requires.txt writing top-level names to sure.egg-info/top_level.txt reading manifest file 'sure.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sure.egg-info/SOURCES.txt' + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bkMQAF + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 + cd sure-1.4.11 + 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/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7 creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/magic.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/compat.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/terminal.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/old.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/registry.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/deprecated.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/__init__.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure copying build/lib/sure/core.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/magic.py to magic.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/compat.py to compat.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/terminal.py to terminal.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/old.py to old.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/registry.py to registry.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/deprecated.py to deprecated.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/__init__.py to __init__.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure/core.py to core.pyc writing byte-compilation script '/tmp/tmp51gmFr.py' /usr/bin/python2 -O /tmp/tmp51gmFr.py removing /tmp/tmp51gmFr.py running install_egg_info running egg_info writing requirements to sure.egg-info/requires.txt writing sure.egg-info/PKG-INFO writing top-level names to sure.egg-info/top_level.txt writing dependency_links to sure.egg-info/dependency_links.txt reading manifest file 'sure.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sure.egg-info/SOURCES.txt' Copying sure.egg-info to /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python2.7/site-packages/sure-1.4.11-py2.7.egg-info running install_scripts + 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/python3.6 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 running install running install_lib creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/magic.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/compat.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/terminal.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/old.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/registry.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/deprecated.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/__init__.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure copying build/lib/sure/core.py -> /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/magic.py to magic.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/compat.py to compat.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/terminal.py to terminal.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/old.py to old.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/registry.py to registry.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/deprecated.py to deprecated.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure/core.py to core.cpython-36.pyc writing byte-compilation script '/tmp/tmpxdfkunok.py' /usr/bin/python3.6 /tmp/tmpxdfkunok.py removing /tmp/tmpxdfkunok.py running install_egg_info running egg_info writing sure.egg-info/PKG-INFO writing dependency_links to sure.egg-info/dependency_links.txt writing requirements to sure.egg-info/requires.txt writing top-level names to sure.egg-info/top_level.txt reading manifest file 'sure.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'sure.egg-info/SOURCES.txt' Copying sure.egg-info to /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6/site-packages/sure-1.4.11-py3.6.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 110000000 /builddir/build/BUILD/sure-1.4.11 /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 0 CRC32s did match. BUILDSTDERR: 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-sure-1.4.11-5.el7.x86_64/usr/lib/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/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.d1l3O7 + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + /usr/bin/python2 -m nose --verbosity 2 BUILDSTDERR: issues.test_issue_104.test_issue_104 ... ok BUILDSTDERR: Correctly handle {} characters in matcher string ... ok BUILDSTDERR: Test for unicode error when comparing bytes ... ok BUILDSTDERR: Test for GitHub Issue #139 ... ok BUILDSTDERR: Allow monkey-patching of methods already implemented by sure. ... ok BUILDSTDERR: issues.test_issue_48.test_issue_48 ... ok BUILDSTDERR: this, it, these and those are all synonyms ... ok BUILDSTDERR: this(4).should.equal(2 + 2) ... ok BUILDSTDERR: this(1).should.be.within(0, 2) ... ok BUILDSTDERR: this(True).should.be.ok ... ok BUILDSTDERR: this(False).should.be.false ... ok BUILDSTDERR: this(None).should.be.none ... ok BUILDSTDERR: this(None).should.be.none ... ok BUILDSTDERR: this(function).should.be.callable ... ok BUILDSTDERR: this(iterable).should.be.empty ... ok BUILDSTDERR: this(iterable).should.have.length_of(N) ... ok BUILDSTDERR: this(X).should.be.greater_than(Y) ... ok BUILDSTDERR: this(X).should.be.greater_than_or_equal_to(Y) ... ok BUILDSTDERR: this(X).should.be.lower_than(Y) ... ok BUILDSTDERR: this(X).should.be.lower_than_or_equal_to(Y) ... ok BUILDSTDERR: this(X).should.be(X) when X is a reference to the same object ... ok BUILDSTDERR: this(instance).should.have.property(property_name) ... ok BUILDSTDERR: this(instance).should.have.property(property_name).being or .with_value should allow chain up ... ok BUILDSTDERR: this(dictionary).should.have.key(key_name) ... ok BUILDSTDERR: this(dictionary).should.have.key(key_name).being or .with_value should allow chain up ... ok BUILDSTDERR: this(' aa ... ok BUILDSTDERR: test usage of repr() inside expect(complex1).to.equal(complex2) ... ok BUILDSTDERR: test usage of repr() inside expect(complex1).to.equal(complex2) ... ok BUILDSTDERR: expect('some string').to.match(r'\w{4} \w{6}') matches regex ... ok BUILDSTDERR: expect('some string').to.contain('tri') ... ok BUILDSTDERR: test_assertion_builder.test_catching_exceptions ... ok BUILDSTDERR: test_assertion_builder.test_catching_exceptions_with_params ... ok BUILDSTDERR: test_assertion_builder.test_success_with_params ... ok BUILDSTDERR: test_assertion_builder.test_success_with_params_exception ... ok BUILDSTDERR: test_assertion_builder.test_throw_matching_regex ... ok BUILDSTDERR: 'something'.should_not.be.different('SOMETHING'.lower()) ... ok BUILDSTDERR: .equal() Should convert mock._CallList instances to lists ... ok BUILDSTDERR: .equal(what, epsilon=XXX) should check for equality with an epsilon for float values ... ok BUILDSTDERR: .equal() with dict containing tuples as keys should work ... ok BUILDSTDERR: .equal(OrderedDict) should check if two ordered dicts are the same ... ok BUILDSTDERR: test_assertion_builder.test_equals_anything ... ok BUILDSTDERR: test_assertion_builder.test_equals_crosstype ... ok BUILDSTDERR: anything that inherits from object should be patched ... ok BUILDSTDERR: do not patch already existing class attributes with same name ... ok BUILDSTDERR: do not patch already existing instance attributes with same name ... ok BUILDSTDERR: dir(obj) should conceal names of methods that were grafted by sure ... ok BUILDSTDERR: test extending sure with a custom assertion. ... ok BUILDSTDERR: test extending sure with a custom chain method. ... ok BUILDSTDERR: test extending sure with a custom chain property. ... ok BUILDSTDERR: Test ensure simple assertion ... ok BUILDSTDERR: Test that ensure only captures AssertionErrors ... ok BUILDSTDERR: sure.with_context() runs setup before the function itself ... ok BUILDSTDERR: sure.that_with_context() when no context is given it fails ... ok BUILDSTDERR: sure.that_with_context() in a failing test ... ok BUILDSTDERR: sure.with_context() runs teardown before the function itself ... ok BUILDSTDERR: that() is_a(object) ... ok BUILDSTDERR: that() equals(string) ... ok BUILDSTDERR: that() differs(object) ... ok BUILDSTDERR: that() has(object) ... ok BUILDSTDERR: that().at(object).equals(object) ... ok BUILDSTDERR: that() len_is(number) ... ok BUILDSTDERR: that() len_greater_than(number) ... ok BUILDSTDERR: that() len_greater_than(number) raise AssertionError ... ok BUILDSTDERR: that() len_greater_than_or_equals(number) ... ok BUILDSTDERR: that() len_greater_than_or_equals(number) raise AssertionError ... ok BUILDSTDERR: that() len_lower_than(number) ... ok BUILDSTDERR: that() len_lower_than(number) raise AssertionError ... ok BUILDSTDERR: that() len_lower_than_or_equals(number) ... ok BUILDSTDERR: that() len_lower_than_or_equals(number) raise AssertionError ... ok BUILDSTDERR: that(iterable).the_attribute('name').equals('value') ... ok BUILDSTDERR: that(iterable, within_range=(1, 2)).the_attribute('name').equals('value') ... ok BUILDSTDERR: that(iterable).every_one_is('value') ... ok BUILDSTDERR: that(iterable).in_each('').equals('value') ... ok BUILDSTDERR: that(callable, with_args=[arg1], and_kwargs={'arg2': 'value'}).raises(SomeException) ... ok BUILDSTDERR: that('String\n with BREAKLINE').looks_like('string with breakline') ... ok BUILDSTDERR: that(callable(RuntimeError)).raises(TypeError) ... ok BUILDSTDERR: that(callable, with_args=['foo']).raises(FooError) ... ok BUILDSTDERR: that(callable).doesnt_raise(FooError) and does_not_raise ... ok BUILDSTDERR: that('foobar').contains('foo') ... ok BUILDSTDERR: that('foobar').does_not_contain('123'), .doesnt_contain ... ok BUILDSTDERR: that('foobar').contains(None) ... ok BUILDSTDERR: that(None).contains('bungalow') ... ok BUILDSTDERR: that(some_iterable).is_empty and that(something).are_empty ... ok BUILDSTDERR: that(something_not_iterable).is_empty and that(something_not_iterable).are_empty raises ... ok BUILDSTDERR: that(something_iterable).matches(another_iterable) ... ok BUILDSTDERR: within(five=miliseconds) will pass ... ok BUILDSTDERR: within(five=miliseconds) will fail ... ok BUILDSTDERR: test_old_api.test_word_to_number ... ok BUILDSTDERR: test_old_api.test_word_to_number_fail ... ok BUILDSTDERR: testing microseconds convertion ... ok BUILDSTDERR: testing miliseconds convertion ... ok BUILDSTDERR: testing seconds convertion ... ok BUILDSTDERR: testing minutes convertion ... ok BUILDSTDERR: within(five=miliseconds) gives utc parameter ... ok BUILDSTDERR: that.is_a_matcher should absorb callables to be used as matcher ... ok BUILDSTDERR: sure.with_context() accepts a list of callbacks for setup ... ok BUILDSTDERR: sure.with_context() runs teardown before the function itself ... ok BUILDSTDERR: @scenario aliases @that_with_context for setup and teardown ... ok BUILDSTDERR: the actions always returns the context ... ok BUILDSTDERR: the actions should be able to declare the variables they provide ... ok BUILDSTDERR: it fails when an action doesn't fulfill its agreements ... ok BUILDSTDERR: it fails when an action depends on some attribute that is not provided by any other previous action ... ok BUILDSTDERR: it fails when an action depends on some attribute that is being provided by other actions ... ok BUILDSTDERR: that(dict(name='foobar')).contains('name') ... ok BUILDSTDERR: that(['foobar', '123']).contains('foobar') ... ok BUILDSTDERR: that(set(['foobar', '123']).contains('foobar') ... ok BUILDSTDERR: that(('foobar', '123')).contains('foobar') ... ok BUILDSTDERR: VariablesBag() provides a meaningful error when attr does not exist ... ok BUILDSTDERR: the actions should be able to declare the variables they provide ... ok BUILDSTDERR: that() deep_equals(dict) succeeding on level 1 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 1 ... ok BUILDSTDERR: that(list) deep_equals(list) succeeding on level 1 ... ok BUILDSTDERR: that(list) deep_equals(list) failing on level 1 ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(X) > len(Y)) ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(Y) > len(X)) ... ok BUILDSTDERR: that(X) deep_equals(Y) fails when Y is missing a key that X has ... ok BUILDSTDERR: that(X) deep_equals(Y) fails with basic vc complex type ... ok BUILDSTDERR: that(X) deep_equals(Y) fails with complex vc basic type ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) succeeding on level 1 ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) failing on level 1 ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) failing by length (len(X) > len(Y)) ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) failing by length (len(Y) > len(X)) ... ok BUILDSTDERR: that() deep_equals(dict) falling back to generic comparator ... ok BUILDSTDERR: that() deep_equals(dict) with generic comparator failing ... ok BUILDSTDERR: that() deep_equals(dict) with generic comparator failing ... ok BUILDSTDERR: that() deep_equals(dict) succeeding on level 2 ... ok BUILDSTDERR: that() deep_equals(dict) succeeding on level 2 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 2 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 when missing a key ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 when has an extra key ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 when has an extra key ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(X) > len(Y)) ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(Y) > len(X)) ... ok BUILDSTDERR: @sure.work_in_progress should set an internal flag into `sure` ... ok BUILDSTDERR: that() equals(string) when it's supposed to fail ... ok BUILDSTDERR: that(callable).raises('message') should compare the message ... ok BUILDSTDERR: test_old_api.test_deep_equals_weird ... ok BUILDSTDERR: safe_repr should display a simple list ... ok BUILDSTDERR: safe_repr should return a sorted repr ... ok BUILDSTDERR: dicts nested inside values should also get sorted ... ok BUILDSTDERR: dicts with unicode should work properly ... ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 142 tests in 0.873s BUILDSTDERR: OK + /usr/bin/python3.6 -m nose --verbosity 2 BUILDSTDERR: issues.test_issue_104.test_issue_104 ... ok BUILDSTDERR: Correctly handle {} characters in matcher string ... ok BUILDSTDERR: Test for unicode error when comparing bytes ... ok BUILDSTDERR: Test for GitHub Issue #139 ... ok BUILDSTDERR: Allow monkey-patching of methods already implemented by sure. ... ok BUILDSTDERR: issues.test_issue_48.test_issue_48 ... ok BUILDSTDERR: this, it, these and those are all synonyms ... ok BUILDSTDERR: this(4).should.equal(2 + 2) ... ok BUILDSTDERR: this(1).should.be.within(0, 2) ... ok BUILDSTDERR: this(True).should.be.ok ... ok BUILDSTDERR: this(False).should.be.false ... ok BUILDSTDERR: this(None).should.be.none ... ok BUILDSTDERR: this(None).should.be.none ... ok BUILDSTDERR: this(function).should.be.callable ... ok BUILDSTDERR: this(iterable).should.be.empty ... ok BUILDSTDERR: this(iterable).should.have.length_of(N) ... ok BUILDSTDERR: this(X).should.be.greater_than(Y) ... ok BUILDSTDERR: this(X).should.be.greater_than_or_equal_to(Y) ... ok BUILDSTDERR: this(X).should.be.lower_than(Y) ... ok BUILDSTDERR: this(X).should.be.lower_than_or_equal_to(Y) ... ok BUILDSTDERR: this(X).should.be(X) when X is a reference to the same object ... ok BUILDSTDERR: this(instance).should.have.property(property_name) ... ok BUILDSTDERR: this(instance).should.have.property(property_name).being or .with_value should allow chain up ... ok BUILDSTDERR: this(dictionary).should.have.key(key_name) ... ok BUILDSTDERR: this(dictionary).should.have.key(key_name).being or .with_value should allow chain up ... ok BUILDSTDERR: this(' aa ... ok BUILDSTDERR: test usage of repr() inside expect(complex1).to.equal(complex2) ... ok BUILDSTDERR: test usage of repr() inside expect(complex1).to.equal(complex2) ... ok BUILDSTDERR: expect('some string').to.match(r'\w{4} \w{6}') matches regex ... ok BUILDSTDERR: expect('some string').to.contain('tri') ... ok BUILDSTDERR: test_assertion_builder.test_catching_exceptions ... ok BUILDSTDERR: test_assertion_builder.test_catching_exceptions_with_params ... ok BUILDSTDERR: test_assertion_builder.test_success_with_params ... ok BUILDSTDERR: test_assertion_builder.test_success_with_params_exception ... ok BUILDSTDERR: test_assertion_builder.test_throw_matching_regex ... ok BUILDSTDERR: 'something'.should_not.be.different('SOMETHING'.lower()) ... ok BUILDSTDERR: .equal() Should convert mock._CallList instances to lists ... ok BUILDSTDERR: .equal(what, epsilon=XXX) should check for equality with an epsilon for float values ... ok BUILDSTDERR: .equal() with dict containing tuples as keys should work ... ok BUILDSTDERR: .equal(OrderedDict) should check if two ordered dicts are the same ... ok BUILDSTDERR: test_assertion_builder.test_equals_anything ... ok BUILDSTDERR: test_assertion_builder.test_equals_crosstype ... ok BUILDSTDERR: anything that inherits from object should be patched ... ok BUILDSTDERR: do not patch already existing class attributes with same name ... ok BUILDSTDERR: do not patch already existing instance attributes with same name ... ok BUILDSTDERR: dir(obj) should conceal names of methods that were grafted by sure ... ok BUILDSTDERR: test extending sure with a custom assertion. ... ok BUILDSTDERR: test extending sure with a custom chain method. ... ok BUILDSTDERR: test extending sure with a custom chain property. ... ok BUILDSTDERR: Test ensure simple assertion ... ok BUILDSTDERR: Test that ensure only captures AssertionErrors ... ok BUILDSTDERR: sure.with_context() runs setup before the function itself ... ok BUILDSTDERR: sure.that_with_context() when no context is given it fails ... ok BUILDSTDERR: sure.that_with_context() in a failing test ... ok BUILDSTDERR: sure.with_context() runs teardown before the function itself ... ok BUILDSTDERR: that() is_a(object) ... ok BUILDSTDERR: that() equals(string) ... ok BUILDSTDERR: that() differs(object) ... ok BUILDSTDERR: that() has(object) ... ok BUILDSTDERR: that().at(object).equals(object) ... ok BUILDSTDERR: that() len_is(number) ... ok BUILDSTDERR: that() len_greater_than(number) ... ok BUILDSTDERR: that() len_greater_than(number) raise AssertionError ... ok BUILDSTDERR: that() len_greater_than_or_equals(number) ... ok BUILDSTDERR: that() len_greater_than_or_equals(number) raise AssertionError ... ok BUILDSTDERR: that() len_lower_than(number) ... ok BUILDSTDERR: that() len_lower_than(number) raise AssertionError ... ok BUILDSTDERR: that() len_lower_than_or_equals(number) ... ok BUILDSTDERR: that() len_lower_than_or_equals(number) raise AssertionError ... ok BUILDSTDERR: that(iterable).the_attribute('name').equals('value') ... ok BUILDSTDERR: that(iterable, within_range=(1, 2)).the_attribute('name').equals('value') ... ok BUILDSTDERR: that(iterable).every_one_is('value') ... ok BUILDSTDERR: that(iterable).in_each('').equals('value') ... ok BUILDSTDERR: that(callable, with_args=[arg1], and_kwargs={'arg2': 'value'}).raises(SomeException) ... ok BUILDSTDERR: that('String\n with BREAKLINE').looks_like('string with breakline') ... ok BUILDSTDERR: that(callable(RuntimeError)).raises(TypeError) ... ok BUILDSTDERR: that(callable, with_args=['foo']).raises(FooError) ... ok BUILDSTDERR: that(callable).doesnt_raise(FooError) and does_not_raise ... ok BUILDSTDERR: that('foobar').contains('foo') ... ok BUILDSTDERR: that('foobar').does_not_contain('123'), .doesnt_contain ... ok BUILDSTDERR: that('foobar').contains(None) ... ok BUILDSTDERR: that(None).contains('bungalow') ... ok BUILDSTDERR: that(some_iterable).is_empty and that(something).are_empty ... ok BUILDSTDERR: that(something_not_iterable).is_empty and that(something_not_iterable).are_empty raises ... ok BUILDSTDERR: that(something_iterable).matches(another_iterable) ... ok BUILDSTDERR: within(five=miliseconds) will pass ... ok BUILDSTDERR: within(five=miliseconds) will fail ... ok BUILDSTDERR: test_old_api.test_word_to_number ... ok BUILDSTDERR: test_old_api.test_word_to_number_fail ... ok BUILDSTDERR: testing microseconds convertion ... ok BUILDSTDERR: testing miliseconds convertion ... ok BUILDSTDERR: testing seconds convertion ... ok BUILDSTDERR: testing minutes convertion ... ok BUILDSTDERR: within(five=miliseconds) gives utc parameter ... ok BUILDSTDERR: that.is_a_matcher should absorb callables to be used as matcher ... ok BUILDSTDERR: sure.with_context() accepts a list of callbacks for setup ... ok BUILDSTDERR: sure.with_context() runs teardown before the function itself ... ok BUILDSTDERR: @scenario aliases @that_with_context for setup and teardown ... ok BUILDSTDERR: the actions always returns the context ... ok BUILDSTDERR: the actions should be able to declare the variables they provide ... ok BUILDSTDERR: it fails when an action doesn't fulfill its agreements ... ok BUILDSTDERR: it fails when an action depends on some attribute that is not provided by any other previous action ... ok BUILDSTDERR: it fails when an action depends on some attribute that is being provided by other actions ... ok BUILDSTDERR: that(dict(name='foobar')).contains('name') ... ok BUILDSTDERR: that(['foobar', '123']).contains('foobar') ... ok BUILDSTDERR: that(set(['foobar', '123']).contains('foobar') ... ok BUILDSTDERR: that(('foobar', '123')).contains('foobar') ... ok BUILDSTDERR: VariablesBag() provides a meaningful error when attr does not exist ... ok BUILDSTDERR: the actions should be able to declare the variables they provide ... ok BUILDSTDERR: that() deep_equals(dict) succeeding on level 1 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 1 ... ok BUILDSTDERR: that(list) deep_equals(list) succeeding on level 1 ... ok BUILDSTDERR: that(list) deep_equals(list) failing on level 1 ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(X) > len(Y)) ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(Y) > len(X)) ... ok BUILDSTDERR: that(X) deep_equals(Y) fails when Y is missing a key that X has ... ok BUILDSTDERR: that(X) deep_equals(Y) fails with basic vc complex type ... ok BUILDSTDERR: that(X) deep_equals(Y) fails with complex vc basic type ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) succeeding on level 1 ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) failing on level 1 ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) failing by length (len(X) > len(Y)) ... ok BUILDSTDERR: that(tuple) deep_equals(tuple) failing by length (len(Y) > len(X)) ... ok BUILDSTDERR: that() deep_equals(dict) falling back to generic comparator ... ok BUILDSTDERR: that() deep_equals(dict) with generic comparator failing ... ok BUILDSTDERR: that() deep_equals(dict) with generic comparator failing ... ok BUILDSTDERR: that() deep_equals(dict) succeeding on level 2 ... ok BUILDSTDERR: that() deep_equals(dict) succeeding on level 2 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 2 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 when missing a key ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 when has an extra key ... ok BUILDSTDERR: that() deep_equals(dict) failing on level 3 when has an extra key ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(X) > len(Y)) ... ok BUILDSTDERR: that(list) deep_equals(list) failing by length (len(Y) > len(X)) ... ok BUILDSTDERR: @sure.work_in_progress should set an internal flag into `sure` ... ok BUILDSTDERR: that() equals(string) when it's supposed to fail ... ok BUILDSTDERR: that(callable).raises('message') should compare the message ... ok BUILDSTDERR: test_old_api.test_deep_equals_weird ... ok BUILDSTDERR: safe_repr should display a simple list ... ok BUILDSTDERR: safe_repr should return a sorted repr ... ok BUILDSTDERR: dicts nested inside values should also get sorted ... ok BUILDSTDERR: dicts with unicode should work properly ... ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 142 tests in 0.847s BUILDSTDERR: OK + exit 0 Processing files: python2-sure-1.4.11-5.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nnqL1H + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + DOCDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/share/doc/python2-sure-1.4.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/share/doc/python2-sure-1.4.11 + cp -pr COPYING /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/share/doc/python2-sure-1.4.11 + exit 0 Provides: python-sure = 1.4.11-5.el7 python2-sure = 1.4.11-5.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 Obsoletes: python-sure < 1.4.11-5.el7 Processing files: python3-sure-1.4.11-5.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.7eTN7i + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + DOCDIR=/builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/share/doc/python3-sure-1.4.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/share/doc/python3-sure-1.4.11 + cp -pr COPYING /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64/usr/share/doc/python3-sure-1.4.11 + exit 0 Provides: python3-sure = 1.4.11-5.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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-sure-1.4.11-5.el7.x86_64 Wrote: /builddir/build/RPMS/python2-sure-1.4.11-5.el7.noarch.rpm Wrote: /builddir/build/RPMS/python3-sure-1.4.11-5.el7.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.RQinqc + umask 022 + cd /builddir/build/BUILD + cd sure-1.4.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-sure-1.4.11-5.el7.x86_64 + exit 0 Child return code was: 0