<86>Mar 21 02:58:28 userdel[2817763]: delete user 'rooter' <86>Mar 21 02:58:28 userdel[2817763]: removed group 'rooter' owned by 'rooter' <86>Mar 21 02:58:28 userdel[2817763]: removed shadow group 'rooter' owned by 'rooter' <86>Mar 21 02:58:28 groupadd[2817791]: group added to /etc/group: name=rooter, GID=642 <86>Mar 21 02:58:28 groupadd[2817791]: group added to /etc/gshadow: name=rooter <86>Mar 21 02:58:28 groupadd[2817791]: new group: name=rooter, GID=642 <86>Mar 21 02:58:28 useradd[2817820]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Mar 21 02:58:28 userdel[2817844]: delete user 'builder' <86>Mar 21 02:58:28 userdel[2817844]: removed group 'builder' owned by 'builder' <86>Mar 21 02:58:28 userdel[2817844]: removed shadow group 'builder' owned by 'builder' <86>Mar 21 02:58:28 groupadd[2817864]: group added to /etc/group: name=builder, GID=643 <86>Mar 21 02:58:28 groupadd[2817864]: group added to /etc/gshadow: name=builder <86>Mar 21 02:58:28 groupadd[2817864]: new group: name=builder, GID=643 <86>Mar 21 02:58:28 useradd[2817893]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash warning: user slev_test does not exist - using root warning: group slev_test does not exist - using root warning: user slev_test does not exist - using root warning: group slev_test does not exist - using root <13>Mar 21 02:58:30 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Mar 21 02:58:30 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Mar 21 02:58:30 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Mar 21 02:58:30 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Mar 21 02:58:30 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 21 02:58:30 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Mar 21 02:58:30 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Mar 21 02:58:30 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Mar 21 02:58:30 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Mar 21 02:58:30 rpmi: libcrypto1.1-1.1.1j-alt1 p9+267719.100.1.1 1615557594 installed <13>Mar 21 02:58:30 rpmi: libssl1.1-1.1.1j-alt1 p9+267719.100.1.1 1615557594 installed <13>Mar 21 02:58:30 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Mar 21 02:58:30 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Mar 21 02:58:31 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Mar 21 02:58:31 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Mar 21 02:58:31 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Mar 21 02:58:34 rpmi: python3-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 21 02:58:34 rpmi: python-modules-curses-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Mar 21 02:58:34 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686221 installed <13>Mar 21 02:58:34 rpmi: python3-dev-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed <13>Mar 21 02:58:34 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Mar 21 02:58:34 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Mar 21 02:58:34 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <86>Mar 21 02:58:34 groupadd[2845493]: group added to /etc/group: name=_keytab, GID=499 <86>Mar 21 02:58:34 groupadd[2845493]: group added to /etc/gshadow: name=_keytab <86>Mar 21 02:58:34 groupadd[2845493]: new group: name=_keytab, GID=499 <13>Mar 21 02:58:34 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed <13>Mar 21 02:58:34 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Mar 21 02:58:34 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Mar 21 02:58:34 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-ctypes-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-module-pkg_resources-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 21 02:58:34 rpmi: python-modules-multiprocessing-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-logging-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-tools-2to3-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-hotshot-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-bsddb-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-modules-distutils-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-strict-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: libnsl2-devel-1.1.0-alt1_1 1511548748 installed <13>Mar 21 02:58:34 rpmi: python-dev-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed <13>Mar 21 02:58:34 rpmi: python-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 21 02:58:35 rpmi: python-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed <13>Mar 21 02:58:35 rpmi: python3-module-setuptools-1:40.8.0-alt2 sisyphus+229158.200.2.1 1557735221 installed <13>Mar 21 02:58:35 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/python-module-mockito-0.7.1-alt1.1.nosrc.rpm (w1.gzdio) Installing python-module-mockito-0.7.1-alt1.1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.57199 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf mockito-0.7.1 + echo 'Source #0 (mockito-0.7.1.tar.gz):' Source #0 (mockito-0.7.1.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/mockito-0.7.1.tar.gz + /bin/tar -xf - + cd mockito-0.7.1 + /bin/chmod -c -Rf u+rwX,go-w . + cp -fR . ../python3 + find ../python3 -type f -name '*.py' -exec 2to3 -w -n '{}' + RefactoringTool: Skipping optional fixer: buffer RefactoringTool: Skipping optional fixer: idioms RefactoringTool: Skipping optional fixer: set_literal RefactoringTool: Skipping optional fixer: ws_comma RefactoringTool: No changes to ../python3/setup.py RefactoringTool: No changes to ../python3/mockito_test/verifications_test.py RefactoringTool: Refactored ../python3/mockito_test/verification_errors_test.py RefactoringTool: Refactored ../python3/mockito_test/test_base.py RefactoringTool: Refactored ../python3/mockito_test/stubbing_test.py --- ../python3/mockito_test/verification_errors_test.py (original) +++ ../python3/mockito_test/verification_errors_test.py (refactored) @@ -31,28 +31,28 @@ try: verify(theMock).foo() except VerificationError as e: - self.assertEquals("\nWanted but not invoked: foo()", str(e)) + self.assertEqual("\nWanted but not invoked: foo()", str(e)) def testPrintsNicelyOneArgument(self): theMock = mock() try: verify(theMock).foo("bar") except VerificationError as e: - self.assertEquals("\nWanted but not invoked: foo('bar')", str(e)) + self.assertEqual("\nWanted but not invoked: foo('bar')", str(e)) def testPrintsNicelyArguments(self): theMock = mock() try: verify(theMock).foo(1, 2) except VerificationError as e: - self.assertEquals("\nWanted but not invoked: foo(1, 2)", str(e)) + self.assertEqual("\nWanted but not invoked: foo(1, 2)", str(e)) def testPrintsNicelyStringArguments(self): theMock = mock() try: verify(theMock).foo(1, 'foo') except VerificationError as e: - self.assertEquals("\nWanted but not invoked: foo(1, 'foo')", str(e)) + self.assertEqual("\nWanted but not invoked: foo(1, 'foo')", str(e)) def testPrintKeywordArgumentsNicely(self): theMock = mock() @@ -74,7 +74,7 @@ try: verify(theMock).foo() except VerificationError as e: - self.assertEquals("\nWanted times: 1, actual times: 2", str(e)) + self.assertEqual("\nWanted times: 1, actual times: 2", str(e)) # TODO: implement @@ -84,7 +84,7 @@ try: verify(theMock).foo(1, 'foo') except VerificationError as e: - self.assertEquals("""Arguments are different. + self.assertEqual("""Arguments are different. Wanted: foo(1, 'foo') Actual: foo('foo', 1)""", str(e)) @@ -94,7 +94,7 @@ try: verifyNoMoreInteractions(theMock) except VerificationError as e: - self.assertEquals("\nUnwanted interaction: foo(1, 'foo')", str(e)) + self.assertEqual("\nUnwanted interaction: foo(1, 'foo')", str(e)) def testPrintsNeverWantedInteractionsNicely(self): theMock = mock() --- ../python3/mockito_test/test_base.py (original) +++ ../python3/mockito_test/test_base.py (refactored) @@ -30,7 +30,7 @@ else: callable() except Exception as e: - self.assertEquals(message, str(e)) + self.assertEqual(message, str(e)) else: self.fail('Exception with message "%s" expected, but never raised' % (message)) --- ../python3/mockito_test/stubbing_test.py (original) +++ ../python3/mockito_test/stubbing_test.py (refactored) @@ -28,29 +28,29 @@ when(theMock).getStuff().thenReturn("foo") when(theMock).getMoreStuff(1, 2).thenReturn(10) - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals(10, theMock.getMoreStuff(1, 2)) - self.assertEquals(None, theMock.getMoreStuff(1, 3)) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual(10, theMock.getMoreStuff(1, 2)) + self.assertEqual(None, theMock.getMoreStuff(1, 3)) def testStubsWhenNoArgsGiven(self): theMock = mock() when(theMock).getStuff().thenReturn("foo") when(theMock).getWidget().thenReturn("bar") - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals("bar", theMock.getWidget()) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual("bar", theMock.getWidget()) def testStubsConsecutivelyWhenNoArgsGiven(self): theMock = mock() when(theMock).getStuff().thenReturn("foo").thenReturn("bar") when(theMock).getWidget().thenReturn("baz").thenReturn("baz2") - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals("bar", theMock.getStuff()) - self.assertEquals("bar", theMock.getStuff()) - self.assertEquals("baz", theMock.getWidget()) - self.assertEquals("baz2", theMock.getWidget()) - self.assertEquals("baz2", theMock.getWidget()) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) + self.assertEqual("baz", theMock.getWidget()) + self.assertEqual("baz2", theMock.getWidget()) + self.assertEqual("baz2", theMock.getWidget()) def testStubsWithException(self): theMock = mock() @@ -62,18 +62,18 @@ theMock = mock() when(theMock).foo().thenReturn("foo") - self.assertEquals("foo", theMock.foo()) + self.assertEqual("foo", theMock.foo()) verify(theMock).foo() def testStubsVerifiesAndStubsAgain(self): theMock = mock() when(theMock).foo().thenReturn("foo") - self.assertEquals("foo", theMock.foo()) + self.assertEqual("foo", theMock.foo()) verify(theMock).foo() when(theMock).foo().thenReturn("next foo") - self.assertEquals("next foo", theMock.foo()) + self.assertEqual("next foo", theMock.foo()) verify(theMock, times(2)).foo() def testOverridesStubbing(self): @@ -82,15 +82,15 @@ when(theMock).foo().thenReturn("foo") when(theMock).foo().thenReturn("bar") - self.assertEquals("bar", theMock.foo()) + self.assertEqual("bar", theMock.foo()) def testStubsAndInvokesTwiceAndVerifies(self): theMock = mock() when(theMock).foo().thenReturn("foo") - self.assertEquals("foo", theMock.foo()) - self.assertEquals("foo", theMock.foo()) + self.assertEqual("foo", theMock.foo()) + self.assertEqual("foo", theMock.foo()) verify(theMock, times(2)).foo() @@ -99,23 +99,23 @@ when(theMock).getStuff(1).thenReturn("foo") when(theMock).getStuff(1, 2).thenReturn("bar") - self.assertEquals("foo", theMock.getStuff(1)) - self.assertEquals("bar", theMock.getStuff(1, 2)) + self.assertEqual("foo", theMock.getStuff(1)) + self.assertEqual("bar", theMock.getStuff(1, 2)) def testStubsAndReturnValuesForSameMethodWithDifferentNamedArguments(self): repo = mock() when(repo).findby(id=6).thenReturn("John May") when(repo).findby(name="John").thenReturn(["John May", "John Smith"]) - self.assertEquals("John May", repo.findby(id=6)) - self.assertEquals(["John May", "John Smith"], repo.findby(name="John")) + self.assertEqual("John May", repo.findby(id=6)) + self.assertEqual(["John May", "John Smith"], repo.findby(name="John")) def testStubsForMethodWithSameNameAndNamedArgumentsInArbitraryOrder(self): theMock = mock() when(theMock).foo(first=1, second=2, third=3).thenReturn(True) - self.assertEquals(True, theMock.foo(third=3, first=1, second=2)) + self.assertEqual(True, theMock.foo(third=3, first=1, second=2)) def testStubsMethodWithSameNameAndMixedArguments(self): repo = mock() @@ -124,10 +124,10 @@ when(repo).findby(name="Sarah").thenReturn(["Sarah Connor"]) when(repo).findby(name="Sarah", active_only=True).thenReturn([]) - self.assertEquals("John May", repo.findby(1)) - self.assertEquals(None, repo.findby(1, active_only=True)) - self.assertEquals(["Sarah Connor"], repo.findby(name="Sarah")) - self.assertEquals([], repo.findby(name="Sarah", active_only=True)) + self.assertEqual("John May", repo.findby(1)) + self.assertEqual(None, repo.findby(1, active_only=True)) + self.assertEqual(["Sarah Connor"], repo.findby(name="Sarah")) + self.assertEqual([], repo.findby(name="Sarah", active_only=True)) def testStubsWithChainedReturnValues(self): theMock = mock() @@ -135,9 +135,9 @@ .thenReturn("bar") \ .thenReturn("foobar") - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals("bar", theMock.getStuff()) - self.assertEquals("foobar", theMock.getStuff()) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) + self.assertEqual("foobar", theMock.getStuff()) def testStubsWithChainedReturnValuesAndException(self): theMock = mock() @@ -145,8 +145,8 @@ .thenReturn("bar") \ .thenRaise(Exception("foobar")) - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals("bar", theMock.getStuff()) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) self.assertRaisesMessage("foobar", theMock.getStuff) def testStubsWithChainedExceptionAndReturnValue(self): @@ -155,7 +155,7 @@ .thenReturn("bar") self.assertRaisesMessage("foo", theMock.getStuff) - self.assertEquals("bar", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) def testStubsWithChainedExceptions(self): theMock = mock() @@ -170,38 +170,38 @@ exception = Exception("foo") when(theMock).getStuff().thenReturn(exception) - self.assertEquals(exception, theMock.getStuff()) + self.assertEqual(exception, theMock.getStuff()) def testLastStubbingWins(self): theMock = mock() when(theMock).foo().thenReturn(1) when(theMock).foo().thenReturn(2) - self.assertEquals(2, theMock.foo()) + self.assertEqual(2, theMock.foo()) def testStubbingOverrides(self): theMock = mock() when(theMock).foo().thenReturn(1) when(theMock).foo().thenReturn(2).thenReturn(3) - self.assertEquals(2, theMock.foo()) - self.assertEquals(3, theMock.foo()) - self.assertEquals(3, theMock.foo()) + self.assertEqual(2, theMock.foo()) + self.assertEqual(3, theMock.foo()) + self.assertEqual(3, theMock.foo()) def testStubsWithMatchers(self): theMock = mock() when(theMock).foo(any()).thenReturn(1) - self.assertEquals(1, theMock.foo(1)) - self.assertEquals(1, theMock.foo(100)) + self.assertEqual(1, theMock.foo(1)) + self.assertEqual(1, theMock.foo(100)) def testStubbingOverrides2(self): theMock = mock() when(theMock).foo(any()).thenReturn(1) when(theMock).foo("oh").thenReturn(2) - self.assertEquals(2, theMock.foo("oh")) - self.assertEquals(1, theMock.foo("xxx")) + self.assertEqual(2, theMock.foo("oh")) + self.assertEqual(1, theMock.foo("xxx")) def testDoesNotVerifyStubbedCalls(self): theMock = mock() @@ -213,18 +213,18 @@ theMock = mock() when(theMock).getStuff().thenReturn("foo", "bar", "foobar") - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals("bar", theMock.getStuff()) - self.assertEquals("foobar", theMock.getStuff()) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) + self.assertEqual("foobar", theMock.getStuff()) def testStubsWithChainedMultipleReturnValues(self): theMock = mock() when(theMock).getStuff().thenReturn("foo", "bar") \ .thenReturn("foobar") - self.assertEquals("foo", theMock.getStuff()) - self.assertEquals("bar", theMock.getStuff()) - self.assertEquals("foobar", theMock.getStuff()) + self.assertEqual("foo", theMock.getStuff()) + self.assertEqual("bar", theMock.getStuff()) + self.assertEqual("foobar", theMock.getStuff()) def testStubsWithMultipleExceptions(self): RefactoringTool: Refactored ../python3/mockito_test/staticmethods_test.py theMock = mock() @@ -255,8 +255,8 @@ when(mockPerson).get_name().thenReturn("stubbed name") # then - self.assertEquals("stubbed name", mockPerson.get_name()) - self.assertEquals("original name", person.get_name(), + self.assertEqual("stubbed name", mockPerson.get_name()) + self.assertEqual("original name", person.get_name(), 'Original method should not be replaced.') def testStubsWithThenAnswer(self): @@ -264,31 +264,31 @@ when(m).magic_number().thenAnswer(lambda: 5) - self.assertEquals(m.magic_number(), 5) + self.assertEqual(m.magic_number(), 5) when(m).add_one(any()).thenAnswer(lambda number: number + 1) - self.assertEquals(m.add_one(5), 6) - self.assertEquals(m.add_one(8), 9) + self.assertEqual(m.add_one(5), 6) + self.assertEqual(m.add_one(8), 9) when(m).do_times(any(), any()).thenAnswer(lambda one, two: one * two) - self.assertEquals(m.do_times(5, 4), 20) - self.assertEquals(m.do_times(8, 5), 40) + self.assertEqual(m.do_times(5, 4), 20) + self.assertEqual(m.do_times(8, 5), 40) when(m).do_dev_magic(any(), any()).thenAnswer(lambda a, b: a/b) - self.assertEquals(m.do_dev_magic(20, 4), 5) - self.assertEquals(m.do_dev_magic(40, 5), 8) + self.assertEqual(m.do_dev_magic(20, 4), 5) + self.assertEqual(m.do_dev_magic(40, 5), 8) def test_key_words(testing="Magic"): return testing + " Stuff" when(m).with_key_words().thenAnswer(test_key_words) - self.assertEquals(m.with_key_words(), "Magic Stuff") + self.assertEqual(m.with_key_words(), "Magic Stuff") when(m).with_key_words(testing=any()).thenAnswer(test_key_words) - self.assertEquals(m.with_key_words(testing="Very Funky"), "Very Funky Stuff") + self.assertEqual(m.with_key_words(testing="Very Funky"), "Very Funky Stuff") def testSubsWithThenAnswerAndMixedArgs(self): repo = mock() @@ -307,10 +307,10 @@ when(repo).findby(name="Sarah").thenAnswer(method_two) when(repo).findby(name="Sarah", active_only=True).thenAnswer(method_three) - self.assertEquals("John May (1)", repo.findby(1)) - self.assertEquals(None, repo.findby(1, active_only=True)) - self.assertEquals(["Sarah Connor"], repo.findby(name="Sarah")) - self.assertEquals(["Sarah", True, 0], repo.findby(name="Sarah", active_only=True)) + self.assertEqual("John May (1)", repo.findby(1)) + self.assertEqual(None, repo.findby(1, active_only=True)) + self.assertEqual(["Sarah Connor"], repo.findby(name="Sarah")) + self.assertEqual(["Sarah", True, 0], repo.findby(name="Sarah", active_only=True)) if __name__ == '__main__': unittest.main() --- ../python3/mockito_test/staticmethods_test.py (original) +++ ../python3/mockito_test/staticmethods_test.py (refactored) @@ -46,7 +46,7 @@ def testUnstubs(self): when(Dog).bark().thenReturn("miau") unstub() - self.assertEquals("woof", Dog.bark()) + self.assertEqual("woof", Dog.bark()) # TODO decent test case please :) without testing irrelevant implementation # details @@ -56,46 +56,46 @@ self.assertTrue(isinstance(Dog.__dict__.get("bark"), staticmethod)) def testStubs(self): - self.assertEquals("woof", Dog.bark()) + self.assertEqual("woof", Dog.bark()) when(Dog).bark().thenReturn("miau") - self.assertEquals("miau", Dog.bark()) + self.assertEqual("miau", Dog.bark()) def testStubsConsecutiveCalls(self): when(Dog).bark().thenReturn(1).thenReturn(2) - self.assertEquals(1, Dog.bark()) - self.assertEquals(2, Dog.bark()) - self.assertEquals(2, Dog.bark()) + self.assertEqual(1, Dog.bark()) + self.assertEqual(2, Dog.bark()) + self.assertEqual(2, Dog.bark()) def testStubsWithArgs(self): - self.assertEquals("woof woof", Dog.barkHardly(1RefactoringTool: Refactored ../python3/mockito_test/spying_test.py RefactoringTool: Refactored ../python3/mockito_test/modulefunctions_test.py , 2)) + self.assertEqual("woof woof", Dog.barkHardly(1, 2)) when(Dog).barkHardly(1, 2).thenReturn("miau") - self.assertEquals("miau", Dog.barkHardly(1, 2)) + self.assertEqual("miau", Dog.barkHardly(1, 2)) def testStubsButDoesNotMachArguments(self): - self.assertEquals("woof woof", Dog.barkHardly(1, "anything")) + self.assertEqual("woof woof", Dog.barkHardly(1, "anything")) when(Dog, strict=False).barkHardly(1, 2).thenReturn("miau") - self.assertEquals(None, Dog.barkHardly(1)) + self.assertEqual(None, Dog.barkHardly(1)) def testStubsMultipleClasses(self): when(Dog).barkHardly(1, 2).thenReturn(1) when(Dog).bark().thenReturn(2) when(Cat).meow().thenReturn(3) - self.assertEquals(1, Dog.barkHardly(1, 2)) - self.assertEquals(2, Dog.bark()) - self.assertEquals(3, Cat.meow()) + self.assertEqual(1, Dog.barkHardly(1, 2)) + self.assertEqual(2, Dog.bark()) + self.assertEqual(3, Cat.meow()) unstub() - self.assertEquals("woof", Dog.bark()) - self.assertEquals("miau", Cat.meow()) + self.assertEqual("woof", Dog.bark()) + self.assertEqual("miau", Cat.meow()) def testVerifiesSuccesfully(self): when(Dog).bark().thenReturn("boo") @@ -135,7 +135,7 @@ def testStubsAndVerifies(self): when(Dog).bark().thenReturn("boo") - self.assertEquals("boo", Dog.bark()) + self.assertEqual("boo", Dog.bark()) verify(Dog).bark() @@ -143,11 +143,11 @@ when(Dog).bark().thenReturn(1) when(Dog).bark().thenReturn(2) - self.assertEquals(2, Dog.bark()) + self.assertEqual(2, Dog.bark()) unstub() - self.assertEquals("woof", Dog.bark()) + self.assertEqual("woof", Dog.bark()) def testDoesNotVerifyStubbedCalls(self): when(Dog).bark().thenReturn(1) --- ../python3/mockito_test/spying_test.py (original) +++ ../python3/mockito_test/spying_test.py (refactored) @@ -38,7 +38,7 @@ def testPreservesReturnValues(self): dummy = Dummy() spiedDummy = spy(dummy) - self.assertEquals(dummy.foo(), spiedDummy.foo()) + self.assertEqual(dummy.foo(), spiedDummy.foo()) def testPreservesSideEffects(self): dummy = spy(Dummy()) @@ -46,7 +46,7 @@ def testPassesArgumentsCorrectly(self): dummy = spy(Dummy()) - self.assertEquals((('foo', 1), {'bar': 'baz'}), + self.assertEqual((('foo', 1), {'bar': 'baz'}), dummy.return_args('foo', 1, bar='baz')) def testIsVerifiable(self): @@ -61,5 +61,5 @@ dummy.lol() self.fail("Should fail if no such method.") except AttributeError as e: - self.assertEquals("You tried to call method 'lol' which 'Dummy' " + self.assertEqual("You tried to call method 'lol' which 'Dummy' " "instance does not have.", str(e)) --- ../python3/mockito_test/modulefunctions_test.py (original) +++ ../python3/mockito_test/modulefunctions_test.py (refactored) @@ -32,25 +32,25 @@ def testUnstubs(self): when(os.path).exists("test").thenReturn(True) unstub() - self.assertEquals(False, os.path.exists("test")) + self.assertEqual(False, os.path.exists("test")) def testStubs(self): when(os.path).exists("test").thenReturn(True) - self.assertEquals(True, os.path.exists("test")) + self.assertEqual(True, os.path.exists("test")) def testStubsConsecutiveCalls(self): when(os.path).exists("test").thenReturn(False).thenReturn(True) - self.assertEquals(False, os.path.exists("test")) - self.assertEquals(True, os.path.exists("test")) + self.assertEqual(False, os.path.exists("test")) + self.assertEqual(True, os.path.exists("test")) def testStubsMultipleClasses(self): when(os.path).exists("test").thenReturn(True) when(os.path).dirname(any(str)).tRefactoringTool: Refactored ../python3/mockito_test/mockingexacttypes_test.py RefactoringTool: No changes to ../python3/mockito_test/matchers_test.py RefactoringTool: Refactored ../python3/mockito_test/instancemethods_test.py henReturn("mocked") - self.assertEquals(True, os.path.exists("test")) - self.assertEquals("mocked", os.path.dirname("whoah!")) + self.assertEqual(True, os.path.exists("test")) + self.assertEqual("mocked", os.path.dirname("whoah!")) def testVerifiesSuccesfully(self): when(os.path).exists("test").thenReturn(True) @@ -76,18 +76,18 @@ when(os.path).exists("test").thenReturn(False) when(os.path).exists("test").thenReturn(True) - self.assertEquals(True, os.path.exists("test")) + self.assertEqual(True, os.path.exists("test")) unstub() - self.assertEquals(False, os.path.exists("test")) + self.assertEqual(False, os.path.exists("test")) def testStubsTwiceWithDifferentArguments(self): when(os.path).exists("Foo").thenReturn(False) when(os.path).exists("Bar").thenReturn(True) - self.assertEquals(False, os.path.exists("Foo")) - self.assertEquals(True, os.path.exists("Bar")) + self.assertEqual(False, os.path.exists("Foo")) + self.assertEqual(True, os.path.exists("Bar")) def testShouldThrowIfWeStubAFunctionNotDefinedInTheModule(self): self.assertRaises(InvocationError, --- ../python3/mockito_test/mockingexacttypes_test.py (original) +++ ../python3/mockito_test/mockingexacttypes_test.py (refactored) @@ -51,7 +51,7 @@ def testShouldReturnNoneWhenCallingExistingButUnstubbedMethod(self): ourMock = mock(Foo, strict=False) - self.assertEquals(None, ourMock.bar()) + self.assertEqual(None, ourMock.bar()) if __name__ == '__main__': unittest.main() --- ../python3/mockito_test/instancemethods_test.py (original) +++ ../python3/mockito_test/instancemethods_test.py (refactored) @@ -43,27 +43,27 @@ unstub() rex = Dog() - self.assertEquals('Wuff!', rex.waggle()) - self.assertEquals(original_method, Dog.waggle) + self.assertEqual('Wuff!', rex.waggle()) + self.assertEqual(original_method, Dog.waggle) def testStubAnInstanceMethod(self): when(Dog).waggle().thenReturn('Boing!') rex = Dog() - self.assertEquals('Boing!', rex.waggle()) + self.assertEqual('Boing!', rex.waggle()) def testStubsAnInstanceMethodWithAnArgument(self): when(Dog).bark('Miau').thenReturn('Wuff') rex = Dog() - self.assertEquals('Wuff', rex.bark('Miau')) + self.assertEqual('Wuff', rex.bark('Miau')) #self.assertEquals('Wuff', rex.bark('Wuff')) def testInvocateAStubbedMethodFromAnotherMethod(self): when(Dog).bark('Wau').thenReturn('Wuff') rex = Dog() - self.assertEquals('Wuff', rex.do_default_bark()) + self.assertEqual('Wuff', rex.do_default_bark()) verify(Dog).bark('Wau') def testYouCantStubAnUnknownMethodInStrictMode(self): @@ -86,31 +86,31 @@ def testCallingAStubbedMethodWithUnexpectedArgumentsReturnsNoneIfNotStrict(self): when(Dog, strict=False).bark('Miau').thenReturn('Wuff') rex = Dog() - self.assertEquals(None, rex.bark('Shhh')) + self.assertEqual(None, rex.bark('Shhh')) def testStubInstancesInsteadOfClasses(self): rex = Dog() when(rex).bark('Miau').thenReturn('Wuff') - self.assertEquals('Wuff', rex.bark('Miau')) + self.assertEqual('Wuff', rex.bark('Miau')) verify(rex, times=1).bark(any()) max = Dog() - self.assertEquals('Miau!', max.bark('Miau')) + self.assertEqual('Miau!', max.bark('Miau')) def testNoExplicitReturnValueMeansNone(self): when(Dog).bark('Miau').thenReturn() rex = Dog() - self.assertEquals(None, rex.bark('Miau')) + self.assertEqual(None, rex.bark('Miau')) def testForgottenThenReturnMeansReturnNone(self): when(Dog).bark('Miau') when(Dog).waggle() rex = Dog() - self.assertEquals(None, rex.bark('Miau')) - self.assertEquals(None, rex.waggle()) + self.assertEqual(RefactoringTool: Refactored ../python3/mockito_test/classmethods_test.py RefactoringTool: No changes to ../python3/mockito/verification.py RefactoringTool: Refactored ../python3/mockito/spying.py RefactoringTool: Refactored ../python3/mockito/mockito.py RefactoringTool: Refactored ../python3/mockito/mocking.py RefactoringTool: Refactored ../python3/mockito/mock_registry.py RefactoringTool: No changes to ../python3/mockito/matchers.py RefactoringTool: Refactored ../python3/mockito/invocation.py None, rex.bark('Miau')) + self.assertEqual(None, rex.waggle()) def testVerifyNoMoreInteractionsWorks(self): when(Dog).bark('Miau') --- ../python3/mockito_test/classmethods_test.py (original) +++ ../python3/mockito_test/classmethods_test.py (refactored) @@ -48,7 +48,7 @@ def testUnstubs(self): when(Dog).bark().thenReturn("miau!") unstub() - self.assertEquals("woof!", Dog.bark()) + self.assertEqual("woof!", Dog.bark()) # TODO decent test case please :) without testing irrelevant implementation # details @@ -58,18 +58,18 @@ self.assertTrue(isinstance(Dog.__dict__.get("bark"), classmethod)) def testStubs(self): - self.assertEquals("woof!", Dog.bark()) + self.assertEqual("woof!", Dog.bark()) when(Dog).bark().thenReturn("miau!") - self.assertEquals("miau!", Dog.bark()) + self.assertEqual("miau!", Dog.bark()) def testStubsClassesDerivedFromTheObjectClass(self): - self.assertEquals("Rrrrr!", Lion.roar()) + self.assertEqual("Rrrrr!", Lion.roar()) when(Lion).roar().thenReturn("miau!") - self.assertEquals("miau!", Lion.roar()) + self.assertEqual("miau!", Lion.roar()) def testVerifiesMultipleCallsOnClassmethod(self): when(Dog).bark().thenReturn("miau!") @@ -89,20 +89,20 @@ def testStubsAndVerifiesClassmethod(self): when(Dog).bark().thenReturn("miau!") - self.assertEquals("miau!", Dog.bark()) + self.assertEqual("miau!", Dog.bark()) verify(Dog).bark() def testPreservesClassArgumentAfterUnstub(self): - self.assertEquals("Cat foo", Cat.meow("foo")) + self.assertEqual("Cat foo", Cat.meow("foo")) when(Cat).meow("foo").thenReturn("bar") - self.assertEquals("bar", Cat.meow("foo")) + self.assertEqual("bar", Cat.meow("foo")) unstub() - self.assertEquals("Cat foo", Cat.meow("foo")) + self.assertEqual("Cat foo", Cat.meow("foo")) if __name__ == '__main__': unittest.main() --- ../python3/mockito/spying.py (original) +++ ../python3/mockito/spying.py (refactored) @@ -20,8 +20,8 @@ '''Spying on real objects.''' -from invocation import RememberedProxyInvocation, VerifiableInvocation -from mocking import TestDouble +from .invocation import RememberedProxyInvocation, VerifiableInvocation +from .mocking import TestDouble __all__ = ['spy'] --- ../python3/mockito/mockito.py (original) +++ ../python3/mockito/mockito.py (refactored) @@ -18,10 +18,10 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -import verification -from mocking import mock, TestDouble -from mock_registry import mock_registry -from verification import VerificationError +from . import verification +from .mocking import mock, TestDouble +from .mock_registry import mock_registry +from .verification import VerificationError class ArgumentError(Exception): @@ -29,7 +29,7 @@ def _multiple_arguments_in_use(*args): - return len(filter(lambda x: x, args)) > 1 + return len([x for x in args if x]) > 1 def _invalid_argument(value): --- ../python3/mockito/mocking.py (original) +++ ../python3/mockito/mocking.py (refactored) @@ -19,8 +19,8 @@ # THE SOFTWARE. import inspect -import invocation -from mock_registry import mock_registry +from . import invocation +from .mock_registry import mock_registry import warnings --- ../python3/mockito/mock_registry.py (original) +++ ../python3/mockito/mock_registry.py (refactored) @@ -36,7 +36,7 @@ return self.mocks.get(cls, None) def unstub_all(self): - for mock in self.mocks.itervalues(): + for mock in self.mocks.values(): mock.unstub() self.mocks.clear() --- ../python3/mockito/invocation.py (original) +++ ../python3/mockito/invocation.py (refactored) @@ -18,7 +18,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -import matchers +from . import matchers RefactoringTool: Refactored ../python3/mockito/inorder.py RefactoringTool: Refactored ../python3/mockito/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ../python3/setup.py RefactoringTool: ../python3/mockito_test/verifications_test.py RefactoringTool: ../python3/mockito_test/verification_errors_test.py RefactoringTool: ../python3/mockito_test/test_base.py RefactoringTool: ../python3/mockito_test/stubbing_test.py RefactoringTool: ../python3/mockito_test/staticmethods_test.py RefactoringTool: ../python3/mockito_test/spying_test.py RefactoringTool: ../python3/mockito_test/modulefunctions_test.py RefactoringTool: ../python3/mockito_test/mockingexacttypes_test.py RefactoringTool: ../python3/mockito_test/matchers_test.py RefactoringTool: ../python3/mockito_test/instancemethods_test.py RefactoringTool: ../python3/mockito_test/classmethods_test.py RefactoringTool: ../python3/mockito/verification.py RefactoringTool: ../python3/mockito/spying.py RefactoringTool: ../python3/mockito/mockito.py RefactoringTool: ../python3/mockito/mocking.py RefactoringTool: ../python3/mockito/mock_registry.py RefactoringTool: ../python3/mockito/matchers.py RefactoringTool: ../python3/mockito/invocation.py RefactoringTool: ../python3/mockito/inorder.py RefactoringTool: ../python3/mockito/__init__.py class InvocationError(AttributeError): @@ -43,7 +43,7 @@ def __repr__(self): args = [repr(p) for p in self.params] kwargs = ["%s=%r" % (key, val) - for key, val in self.named_params.items()] + for key, val in list(self.named_params.items())] params = ", ".join(args + kwargs) return "%s(%s)" % (self.method_name, params) @@ -75,7 +75,7 @@ if not self.compare(p1, invocation.params[x]): return False - for x, p1 in self.named_params.iteritems(): + for x, p1 in self.named_params.items(): if not self.compare(p1, invocation.named_params[x]): return False --- ../python3/mockito/inorder.py (original) +++ ../python3/mockito/inorder.py (refactored) @@ -18,7 +18,7 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. -from mockito import verify as verify_main +from .mockito import verify as verify_main def verify(object, *args, **kwargs): --- ../python3/mockito/__init__.py (original) +++ ../python3/mockito/__init__.py (refactored) @@ -21,16 +21,16 @@ '''Mockito is a Test Spy framework.''' -from mockito import (mock, verify, verifyNoMoreInteractions, +from .mockito import (mock, verify, verifyNoMoreInteractions, verifyZeroInteractions, when, unstub, ArgumentError) -import inorder -from spying import spy -from verification import VerificationError +from . import inorder +from .spying import spy +from .verification import VerificationError # Imports for compatibility -from mocking import Mock -from matchers import any, contains, times -from verification import never +from .mocking import Mock +from .matchers import any, contains, times +from .verification import never __all__ = ['mock', 'spy', 'verify', 'verifyNoMoreInteractions', 'verifyZeroInteractions', 'inorder', 'when', 'unstub', + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67480 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mockito-0.7.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py build --debug running build running build_py file distribute_setup.py (for module distribute_setup) not found creating build creating build/lib creating build/lib/mockito copying mockito/verification.py -> build/lib/mockito copying mockito/spying.py -> build/lib/mockito copying mockito/mockito.py -> build/lib/mockito copying mockito/mocking.py -> build/lib/mockito copying mockito/mock_registry.py -> build/lib/mockito copying mockito/matchers.py -> build/lib/mockito copying mockito/invocation.py -> build/lib/mockito copying mockito/inorder.py -> build/lib/mockito copying mockito/__init__.py -> build/lib/mockito creating build/lib/mockito_test copying mockito_test/verifications_test.py -> build/lib/mockito_test copying mockito_test/verification_errors_test.py -> build/lib/mockito_test copying mockito_test/test_base.py -> build/lib/mockito_test copying mockito_test/stubbing_test.py -> build/lib/mockito_test copying mockito_test/staticmethods_test.py -> build/lib/mockito_test copying mockito_test/spying_test.py -> build/lib/mockito_test copying mockito_test/modulefunctions_test.py -> build/lib/mockito_test copying mockito_test/mockingexacttypes_test.py -> build/lib/mockito_test copying mockito_test/matchers_test.py -> build/lib/mockito_test copying mockito_test/instancemethods_test.py -> build/lib/mockito_test copying mockito_test/classmethods_test.py -> build/lib/mockito_test copying mockito_test/__init__.py -> build/lib/mockito_test file distribute_setup.py (for module distribute_setup) not found + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/mockito-0.7.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py build --debug running build running build_py file distribute_setup.py (for module distribute_setup) not found creating build creating build/lib creating build/lib/mockito copying mockito/verification.py -> build/lib/mockito copying mockito/spying.py -> build/lib/mockito copying mockito/mockito.py -> build/lib/mockito copying mockito/mocking.py -> build/lib/mockito copying mockito/mock_registry.py -> build/lib/mockito copying mockito/matchers.py -> build/lib/mockito copying mockito/invocation.py -> build/lib/mockito copying mockito/inorder.py -> build/lib/mockito copying mockito/__init__.py -> build/lib/mockito creating build/lib/mockito_test copying mockito_test/verifications_test.py -> build/lib/mockito_test copying mockito_test/verification_errors_test.py -> build/lib/mockito_test copying mockito_test/test_base.py -> build/lib/mockito_test copying mockito_test/stubbing_test.py -> build/lib/mockito_test copying mockito_test/staticmethods_test.py -> build/lib/mockito_test copying mockito_test/spying_test.py -> build/lib/mockito_test copying mockito_test/modulefunctions_test.py -> build/lib/mockito_test copying mockito_test/mockingexacttypes_test.py -> build/lib/mockito_test copying mockito_test/matchers_test.py -> build/lib/mockito_test copying mockito_test/instancemethods_test.py -> build/lib/mockito_test copying mockito_test/classmethods_test.py -> build/lib/mockito_test copying mockito_test/__init__.py -> build/lib/mockito_test Fixing build/lib/mockito/verification.py build/lib/mockito/spying.py build/lib/mockito/mockito.py build/lib/mockito/mocking.py build/lib/mockito/mock_registry.py build/lib/mockito/matchers.py build/lib/mockito/invocation.py build/lib/mockito/inorder.py build/lib/mockito/__init__.py build/lib/mockito_test/verifications_test.py build/lib/mockito_test/verification_errors_test.py build/lib/mockito_test/test_base.py build/lib/mockito_test/stubbing_test.py build/lib/mockito_test/staticmethods_test.py build/lib/mockito_test/spying_test.py build/lib/mockito_test/modulefunctions_test.py build/lib/mockito_test/mockingexacttypes_test.py build/lib/mockito_test/matchers_test.py build/lib/mockito_test/instancemethods_test.py build/lib/mockito_test/classmethods_test.py build/lib/mockito_test/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma Fixing build/lib/mockito/verification.py build/lib/mockito/spying.py build/lib/mockito/mockito.py build/lib/mockito/mocking.py build/lib/mockito/mock_registry.py build/lib/mockito/matchers.py build/lib/mockito/invocation.py build/lib/mockito/inorder.py build/lib/mockito/__init__.py build/lib/mockito_test/verifications_test.py build/lib/mockito_test/verification_errors_test.py build/lib/mockito_test/test_base.py build/lib/mockito_test/stubbing_test.py build/lib/mockito_test/staticmethods_test.py build/lib/mockito_test/spying_test.py build/lib/mockito_test/modulefunctions_test.py build/lib/mockito_test/mockingexacttypes_test.py build/lib/mockito_test/matchers_test.py build/lib/mockito_test/instancemethods_test.py build/lib/mockito_test/classmethods_test.py build/lib/mockito_test/__init__.py Skipping optional fixer: buffer Skipping optional fixer: idioms Skipping optional fixer: set_literal Skipping optional fixer: ws_comma file distribute_setup.py (for module distribute_setup) not found + popd ~/RPM/BUILD/mockito-0.7.1 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.41791 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python-module-mockito-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python-module-mockito-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd mockito-0.7.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python setup.py install --skip-build --root=/usr/src/tmp/python-module-mockito-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-mockito-buildroot creating /usr/src/tmp/python-module-mockito-buildroot/usr creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7 creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/__init__.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/classmethods_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/instancemethods_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/matchers_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/mockingexacttypes_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/modulefunctions_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/spying_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/staticmethods_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/stubbing_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/test_base.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/verification_errors_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test copying build/lib/mockito_test/verifications_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/__init__.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/inorder.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/invocation.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/matchers.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/mock_registry.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/mocking.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/mockito.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/spying.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito copying build/lib/mockito/verification.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/classmethods_test.py to classmethods_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.py to instancemethods_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.py to matchers_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.py to mockingexacttypes_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.py to modulefunctions_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/spying_test.py to spying_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.py to staticmethods_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/stubbing_test.py to stubbing_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/test_base.py to test_base.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.py to verification_errors_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.py to verifications_test.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py to __init__.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/inorder.py to inorder.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/invocation.py to invocation.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/matchers.py to matchers.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mock_registry.py to mock_registry.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mocking.py to mocking.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py to mockito.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/spying.py to spying.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/verification.py to verification.pyc running install_egg_info running egg_info writing mockito.egg-info/PKG-INFO writing top-level names to mockito.egg-info/top_level.txt writing dependency_links to mockito.egg-info/dependency_links.txt file distribute_setup.py (for module distribute_setup) not found reading manifest file 'mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mockito.egg-info/SOURCES.txt' Copying mockito.egg-info to /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito-0.7.1-py2.7.egg-info running install_scripts + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/mockito-0.7.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python-module-mockito-buildroot --force running install running install_lib creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3 creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/__init__.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/classmethods_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/instancemethods_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/matchers_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/mockingexacttypes_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/modulefunctions_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/spying_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/staticmethods_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/stubbing_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/test_base.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/verification_errors_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/verifications_test.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test creating /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/__init__.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/inorder.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/invocation.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/matchers.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/mock_registry.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/mocking.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/mockito.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/spying.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/verification.py -> /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py to classmethods_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py to instancemethods_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py to matchers_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py to mockingexacttypes_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py to modulefunctions_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py to spying_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py to staticmethods_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py to stubbing_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py to test_base.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py to verification_errors_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py to verifications_test.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py to __init__.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py to inorder.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py to invocation.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py to matchers.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py to mock_registry.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py to mocking.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py to mockito.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py to spying.cpython-37.pyc byte-compiling /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py to verification.cpython-37.pyc running install_egg_info running egg_info writing mockito.egg-info/PKG-INFO writing dependency_links to mockito.egg-info/dependency_links.txt writing top-level names to mockito.egg-info/top_level.txt file distribute_setup.py (for module distribute_setup) not found reading manifest file 'mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mockito.egg-info/SOURCES.txt' Copying mockito.egg-info to /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito-0.7.1-py3.7.egg-info running install_scripts + popd ~/RPM/BUILD/mockito-0.7.1 + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python-module-mockito-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python-module-mockito-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/python-module-mockito-buildroot/ (default) Compressing files in /usr/src/tmp/python-module-mockito-buildroot (auto) Adjusting library links in /usr/src/tmp/python-module-mockito-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python-module-mockito-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) Bytecompiling python modules in /usr/src/tmp/python-module-mockito-buildroot using /usr/bin/python unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/inorder.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/invocation.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/matchers.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mock_registry.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mocking.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/spying.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/verification.pyc compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/inorder.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/invocation.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/matchers.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mocking.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/spying.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/verification.py unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/__init__.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/classmethods_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/spying_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/stubbing_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/test_base.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.pyc compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.py Bytecompiling python modules with optimization in /usr/src/tmp/python-module-mockito-buildroot using /usr/bin/python -O compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/inorder.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/invocation.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/matchers.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mocking.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/spying.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/verification.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.py Bytecompiling python3 modules in /usr/src/tmp/python-module-mockito-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-37.pyc compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.pyc unlink /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.pyc compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python-module-mockito-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python-module-mockito-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py Hardlinking identical .pyc and .opt-?.pyc files './usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.opt-1.pyc' Hardlinking identical .pyc and .pyo files './usr/lib/python2.7/site-packages/mockito/verification.pyo' => './usr/lib/python2.7/site-packages/mockito/verification.pyc' './usr/lib/python2.7/site-packages/mockito/spying.pyo' => './usr/lib/python2.7/site-packages/mockito/spying.pyc' './usr/lib/python2.7/site-packages/mockito/mockito.pyo' => './usr/lib/python2.7/site-packages/mockito/mockito.pyc' './usr/lib/python2.7/site-packages/mockito/mocking.pyo' => './usr/lib/python2.7/site-packages/mockito/mocking.pyc' './usr/lib/python2.7/site-packages/mockito/mock_registry.pyo' => './usr/lib/python2.7/site-packages/mockito/mock_registry.pyc' './usr/lib/python2.7/site-packages/mockito/matchers.pyo' => './usr/lib/python2.7/site-packages/mockito/matchers.pyc' './usr/lib/python2.7/site-packages/mockito/invocation.pyo' => './usr/lib/python2.7/site-packages/mockito/invocation.pyc' './usr/lib/python2.7/site-packages/mockito/inorder.pyo' => './usr/lib/python2.7/site-packages/mockito/inorder.pyc' './usr/lib/python2.7/site-packages/mockito/__init__.pyo' => './usr/lib/python2.7/site-packages/mockito/__init__.pyc' './usr/lib/python2.7/site-packages/mockito_test/verifications_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/verifications_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/test_base.pyo' => './usr/lib/python2.7/site-packages/mockito_test/test_base.pyc' './usr/lib/python2.7/site-packages/mockito_test/stubbing_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/stubbing_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/spying_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/spying_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/matchers_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/matchers_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/classmethods_test.pyo' => './usr/lib/python2.7/site-packages/mockito_test/classmethods_test.pyc' './usr/lib/python2.7/site-packages/mockito_test/__init__.pyo' => './usr/lib/python2.7/site-packages/mockito_test/__init__.pyc' Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.13209 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mockito-0.7.1 + python setup.py test running test running egg_info writing mockito.egg-info/PKG-INFO writing top-level names to mockito.egg-info/top_level.txt writing dependency_links to mockito.egg-info/dependency_links.txt file distribute_setup.py (for module distribute_setup) not found reading manifest file 'mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'mockito.egg-info/SOURCES.txt' running build_ext testFailsVerificationOfMultipleCallsOnClassmethod (mockito_test.classmethods_test.ClassMethodsTest) ... ok testPreservesClassArgumentAfterUnstub (mockito_test.classmethods_test.ClassMethodsTest) ... ok testStubs (mockito_test.classmethods_test.ClassMethodsTest) ... ok testStubsAndVerifiesClassmethod (mockito_test.classmethods_test.ClassMethodsTest) ... ok testStubsClassesDerivedFromTheObjectClass (mockito_test.classmethods_test.ClassMethodsTest) ... ok testUnstubShouldPreserveMethodType (mockito_test.classmethods_test.ClassMethodsTest) ... ok testUnstubs (mockito_test.classmethods_test.ClassMethodsTest) ... ok testVerifiesMultipleCallsOnClassmethod (mockito_test.classmethods_test.ClassMethodsTest) ... ok testCallingAStubbedMethodWithUnexpectedArgumentsReturnsNoneIfNotStrict (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testForgottenThenReturnMeansReturnNone (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testInvocateAStubbedMethodFromAnotherMethod (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testNoExplicitReturnValueMeansNone (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testStubAnInstanceMethod (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testStubInstancesInsteadOfClasses (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testStubsAnInstanceMethodWithAnArgument (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testThrowEarlyIfCallingAStubbedMethodWithUnexpectedArgumentsInStrictMode (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testUnstubAnInstanceMethod (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testVerifyNoMoreInteractionsWorks (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testVerifyZeroInteractionsWorks (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testYouCantStubAnUnknownMethodInStrictMode (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testShouldNotSatisfyIfOneOfMatchersIsNotSatisfied (mockito_test.matchers_test.AndMatcherTest) ... ok testShouldSatisfyIfAllMatchersAreSatisfied (mockito_test.matchers_test.AndMatcherTest) ... ok testShouldTreatNonMatchersAsEqMatcher (mockito_test.matchers_test.AndMatcherTest) ... ok testShouldNotSatisfyIfPredicateReturnsFalse (mockito_test.matchers_test.ArgThatMatcherTest) ... ok testShouldSatisfyIfPredicateReturnsTrue (mockito_test.matchers_test.ArgThatMatcherTest) ... ok testShouldDefaultMatcherToAny (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldNotSatisfyIfInnerMatcherIsNotSatisfied (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldReturnLastMatchedValue (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldReturnNoneValueByDefault (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldReturnNoneValueIfDidntMatch (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldSatisfyIfInnerMatcherIsSatisfied (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldNotSatisfiyEmptyString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldNotSatisfiyNone (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldNotSatisfiyStringWhichIsNotSubstringOfGivenString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldSatisfiySubstringOfGivenString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldSatisfySameString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldNotSatisfyIfArgDoesNotMatchGivenValue (mockito_test.matchers_test.EqMatcherTest) ... ok testShouldSatisfyIfArgMatchesGivenValue (mockito_test.matchers_test.EqMatcherTest) ... ok testShouldNotSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.GtMatcherTest) ... ok testShouldNotSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.GtMatcherTest) ... ok testShouldSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.GtMatcherTest) ... ok testShouldNotSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.GteMatcherTest) ... ok testShouldSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.GteMatcherTest) ... ok testShouldSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.GteMatcherTest) ... ok testShouldNotSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.LtMatcherTest) ... ok testShouldNotSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.LtMatcherTest) ... ok testShouldSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.LtMatcherTest) ... ok testShouldNotSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.LteMatcherTest) ... ok testShouldSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.LteMatcherTest) ... ok testShouldSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.LteMatcherTest) ... ok testVerifiesUsingContainsMatcher (mockito_test.matchers_test.MatchersTest) ... ok testShouldAllowSpecifyingRegexFlags (mockito_test.matchers_test.MatchesMatcherTest) ... ok testShouldNotSatisfyIfRegexIsNotMatchedByGivenString (mockito_test.matchers_test.MatchesMatcherTest) ... ok testShouldSatisfyIfRegexMatchesGivenString (mockito_test.matchers_test.MatchesMatcherTest) ... ok testShouldNotSatisfyIfArgMatchesGivenValue (mockito_test.matchers_test.NeqMatcherTest) ... ok testShouldSatisfyIfArgDoesNotMatchGivenValue (mockito_test.matchers_test.NeqMatcherTest) ... ok testShouldNotSatisfyIfInnerMatcherIsSatisfied (mockito_test.matchers_test.NotMatcherTest) ... ok testShouldSatisfyIfInnerMatcherIsNotSatisfied (mockito_test.matchers_test.NotMatcherTest) ... ok testShouldTreatNonMatchersAsEqMatcher (mockito_test.matchers_test.NotMatcherTest) ... ok testShouldNotSatisfyIfAllOfMatchersAreNotSatisfied (mockito_test.matchers_test.OrMatcherTest) ... ok testShouldSatisfyIfAnyOfMatchersIsSatisfied (mockito_test.matchers_test.OrMatcherTest) ... ok testShouldTreatNonMatchersAsEqMatcher (mockito_test.matchers_test.OrMatcherTest) ... ok testShouldReturnNoneWhenCallingExistingButUnstubbedMethod (mockito_test.mockingexacttypes_test.MockingExactTypesTest) ... ok testShouldScreamWhenCallingUnexpectedMethod (mockito_test.mockingexacttypes_test.MockingExactTypesTest) ... ok testShouldScreamWhenUnknownMethodStubbed (mockito_test.mockingexacttypes_test.MockingExactTypesTest) ... ok testFailsOnNumberOfCalls (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testFailsVerification (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testShouldThrowIfWeStubAFunctionNotDefinedInTheModule (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubs (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsConsecutiveCalls (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsMultipleClasses (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsTwiceAndUnstubs (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsTwiceWithDifferentArguments (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testUnstubs (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testVerifiesSuccesfully (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testIsVerifiable (mockito_test.spying_test.SpyingTest) ... ok testPassesArgumentsCorrectly (mockito_test.spying_test.SpyingTest) ... ok testPreservesReturnValues (mockito_test.spying_test.SpyingTest) ... ok testPreservesSideEffects (mockito_test.spying_test.SpyingTest) ... ok testRaisesAttributeErrorIfNoSuchMethod (mockito_test.spying_test.SpyingTest) ... ok testDoesNotVerifyStubbedCalls (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testFailsOnInvalidArguments (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testFailsOnNumberOfCalls (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testFailsVerification (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsAndVerifies (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsButDoesNotMachArguments (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsConsecutiveCalls (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsMultipleClasses (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsTwiceAndUnstubs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsWithArgs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testUnstubShouldPreserveMethodType (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testUnstubs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testVerifiesSuccesfully (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testVerifiesWithArguments (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testDoesNotVerifyStubbedCalls (mockito_test.stubbing_test.StubbingTest) ... ok testLastStubbingWins (mockito_test.stubbing_test.StubbingTest) ... ok testLeavesOriginalMethodUntouchedWhenCreatingStubFromRealClass (mockito_test.stubbing_test.StubbingTest) ... ok testOverridesStubbing (mockito_test.stubbing_test.StubbingTest) ... ok testStubbingOverrides (mockito_test.stubbing_test.StubbingTest) ... ok testStubbingOverrides2 (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndInvokesTwiceAndVerifies (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndReturnValuesForSameMethodWithDifferentArguments (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndReturnValuesForSameMethodWithDifferentNamedArguments (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndVerifies (mockito_test.stubbing_test.StubbingTest) ... ok testStubsConsecutivelyWhenNoArgsGiven (mockito_test.stubbing_test.StubbingTest) ... ok testStubsForMethodWithSameNameAndNamedArgumentsInArbitraryOrder (mockito_test.stubbing_test.StubbingTest) ... ok testStubsMethodWithSameNameAndMixedArguments (mockito_test.stubbing_test.StubbingTest) ... ok testStubsVerifiesAndStubsAgain (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWhenNoArgsGiven (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedExceptionAndReturnValue (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedExceptions (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedMultipleReturnValues (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedReturnValues (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedReturnValuesAndException (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithException (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMatchers (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMultipleChainedExceptions (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMultipleExceptions (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMultipleReturnValues (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithReturnValue (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithReturnValueBeingException (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithThenAnswer (mockito_test.stubbing_test.StubbingTest) ... ok testSubsWithThenAnswerAndMixedArgs (mockito_test.stubbing_test.StubbingTest) ... ok testPrintKeywordArgumentsNicely (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNeverWantedInteractionsNicely (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicely (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicelyArguments (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicelyOneArgument (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicelyStringArguments (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsOutThatTheActualAndExpectedInvocationCountDiffers (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsUnwantedInteraction (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testErrorMessage (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsAtMostAtLeastAndBetweenVerificationWithWrongArguments (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsIfNoInteractions (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsIfWrongOrderOfInteractions (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsMixedVerifications (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerification (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerificationOfMultipleCalls (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerificationUsingAnyIntMatcher (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerificationWithBetween (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsWhenMethodInvokedFourTimesForAtMostTwoVerification (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsWhenMethodInvokedOnceForAtLeastTwoVerification (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsWhenTimesIsLessThanZero (mockito_test.verifications_test.InorderVerifyTest) ... ok testKeywordArgumentsOrderIsUnimportant (mockito_test.verifications_test.InorderVerifyTest) ... ok testNumberOfTimesDefinedDirectlyInVerify (mockito_test.verifications_test.InorderVerifyTest) ... ok testPassesIfMultipleInteractions (mockito_test.verifications_test.InorderVerifyTest) ... ok testPassesIfOneIteraction (mockito_test.verifications_test.InorderVerifyTest) ... ok testPassesMixedVerifications (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifies (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAnyTimes (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedFourTimes (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedTwice (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedOnce (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedTwice (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesBetween (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesDetectsNamedArguments (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesMultipleCalls (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesMultipleCallsWhenMethodUsedAsFunction (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesUsingAnyIntMatcher (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesUsingAnyMatcher (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesWhenMethodIsUsingKeywordArguments (mockito_test.verifications_test.InorderVerifyTest) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok testFails (mockito_test.verifications_test.VerifyNoMoreInteractionsTest) ... ok testVerifies (mockito_test.verifications_test.VerifyNoMoreInteractionsTest) ... ok testFailsAtMostAtLeastAndBetweenVerificationWithWrongArguments (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerification (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerificationOfMultipleCalls (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerificationUsingAnyIntMatcher (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerificationWithBetween (mockito_test.verifications_test.VerifyTest) ... ok testFailsWhenMethodInvokedFourTimesForAtMostTwoVerification (mockito_test.verifications_test.VerifyTest) ... ok testFailsWhenMethodInvokedOnceForAtLeastTwoVerification (mockito_test.verifications_test.VerifyTest) ... ok testFailsWhenTimesIsLessThanZero (mockito_test.verifications_test.VerifyTest) ... ok testKeywordArgumentsOrderIsUnimportant (mockito_test.verifications_test.VerifyTest) ... ok testNumberOfTimesDefinedDirectlyInVerify (mockito_test.verifications_test.VerifyTest) ... ok testVerifies (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAnyTimes (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedFourTimes (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedTwice (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedOnce (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedTwice (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesBetween (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesDetectsNamedArguments (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesMultipleCalls (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesMultipleCallsWhenMethodUsedAsFunction (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesUsingAnyIntMatcher (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesUsingAnyMatcher (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesWhenMethodIsUsingKeywordArguments (mockito_test.verifications_test.VerifyTest) ... ok testVerifyNeverCalled (mockito_test.verifications_test.VerifyTest) ... ok testVerifyNeverCalledRaisesError (mockito_test.verifications_test.VerifyTest) ... ok testVerifies (mockito_test.verifications_test.VerifyZeroInteractionsTest) ... ok ---------------------------------------------------------------------- Ran 213 tests in 0.033s OK + pushd ../python3 ~/RPM/BUILD/python3 ~/RPM/BUILD/mockito-0.7.1 + python3 setup.py test running test running build_py file distribute_setup.py (for module distribute_setup) not found file distribute_setup.py (for module distribute_setup) not found running egg_info creating /usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info writing /usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info/PKG-INFO writing dependency_links to /usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info/dependency_links.txt writing top-level names to /usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info/top_level.txt writing manifest file '/usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info/SOURCES.txt' file distribute_setup.py (for module distribute_setup) not found reading manifest file '/usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/usr/src/RPM/BUILD/python3/build/lib/mockito.egg-info/SOURCES.txt' running build_ext testFailsVerificationOfMultipleCallsOnClassmethod (mockito_test.classmethods_test.ClassMethodsTest) ... ok testPreservesClassArgumentAfterUnstub (mockito_test.classmethods_test.ClassMethodsTest) ... ok testStubs (mockito_test.classmethods_test.ClassMethodsTest) ... ok testStubsAndVerifiesClassmethod (mockito_test.classmethods_test.ClassMethodsTest) ... ok testStubsClassesDerivedFromTheObjectClass (mockito_test.classmethods_test.ClassMethodsTest) ... ok testUnstubShouldPreserveMethodType (mockito_test.classmethods_test.ClassMethodsTest) ... ok testUnstubs (mockito_test.classmethods_test.ClassMethodsTest) ... ok testVerifiesMultipleCallsOnClassmethod (mockito_test.classmethods_test.ClassMethodsTest) ... ok testCallingAStubbedMethodWithUnexpectedArgumentsReturnsNoneIfNotStrict (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testForgottenThenReturnMeansReturnNone (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testInvocateAStubbedMethodFromAnotherMethod (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testNoExplicitReturnValueMeansNone (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testStubAnInstanceMethod (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testStubInstancesInsteadOfClasses (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testStubsAnInstanceMethodWithAnArgument (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testThrowEarlyIfCallingAStubbedMethodWithUnexpectedArgumentsInStrictMode (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testUnstubAnInstanceMethod (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testVerifyNoMoreInteractionsWorks (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testVerifyZeroInteractionsWorks (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testYouCantStubAnUnknownMethodInStrictMode (mockito_test.instancemethods_test.InstanceMethodsTest) ... ok testShouldNotSatisfyIfOneOfMatchersIsNotSatisfied (mockito_test.matchers_test.AndMatcherTest) ... ok testShouldSatisfyIfAllMatchersAreSatisfied (mockito_test.matchers_test.AndMatcherTest) ... ok testShouldTreatNonMatchersAsEqMatcher (mockito_test.matchers_test.AndMatcherTest) ... ok testShouldNotSatisfyIfPredicateReturnsFalse (mockito_test.matchers_test.ArgThatMatcherTest) ... ok testShouldSatisfyIfPredicateReturnsTrue (mockito_test.matchers_test.ArgThatMatcherTest) ... ok testShouldDefaultMatcherToAny (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldNotSatisfyIfInnerMatcherIsNotSatisfied (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldReturnLastMatchedValue (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldReturnNoneValueByDefault (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldReturnNoneValueIfDidntMatch (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldSatisfyIfInnerMatcherIsSatisfied (mockito_test.matchers_test.ArgumentCaptorTest) ... ok testShouldNotSatisfiyEmptyString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldNotSatisfiyNone (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldNotSatisfiyStringWhichIsNotSubstringOfGivenString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldSatisfiySubstringOfGivenString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldSatisfySameString (mockito_test.matchers_test.ContainsMatcherTest) ... ok testShouldNotSatisfyIfArgDoesNotMatchGivenValue (mockito_test.matchers_test.EqMatcherTest) ... ok testShouldSatisfyIfArgMatchesGivenValue (mockito_test.matchers_test.EqMatcherTest) ... ok testShouldNotSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.GtMatcherTest) ... ok testShouldNotSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.GtMatcherTest) ... ok testShouldSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.GtMatcherTest) ... ok testShouldNotSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.GteMatcherTest) ... ok testShouldSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.GteMatcherTest) ... ok testShouldSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.GteMatcherTest) ... ok testShouldNotSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.LtMatcherTest) ... ok testShouldNotSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.LtMatcherTest) ... ok testShouldSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.LtMatcherTest) ... ok testShouldNotSatisfyIfArgIsGreaterThanGivenValue (mockito_test.matchers_test.LteMatcherTest) ... ok testShouldSatisfyIfArgIsEqualToGivenValue (mockito_test.matchers_test.LteMatcherTest) ... ok testShouldSatisfyIfArgIsLessThanGivenValue (mockito_test.matchers_test.LteMatcherTest) ... ok testVerifiesUsingContainsMatcher (mockito_test.matchers_test.MatchersTest) ... ok testShouldAllowSpecifyingRegexFlags (mockito_test.matchers_test.MatchesMatcherTest) ... ok testShouldNotSatisfyIfRegexIsNotMatchedByGivenString (mockito_test.matchers_test.MatchesMatcherTest) ... ok testShouldSatisfyIfRegexMatchesGivenString (mockito_test.matchers_test.MatchesMatcherTest) ... ok testShouldNotSatisfyIfArgMatchesGivenValue (mockito_test.matchers_test.NeqMatcherTest) ... ok testShouldSatisfyIfArgDoesNotMatchGivenValue (mockito_test.matchers_test.NeqMatcherTest) ... ok testShouldNotSatisfyIfInnerMatcherIsSatisfied (mockito_test.matchers_test.NotMatcherTest) ... ok testShouldSatisfyIfInnerMatcherIsNotSatisfied (mockito_test.matchers_test.NotMatcherTest) ... ok testShouldTreatNonMatchersAsEqMatcher (mockito_test.matchers_test.NotMatcherTest) ... ok testShouldNotSatisfyIfAllOfMatchersAreNotSatisfied (mockito_test.matchers_test.OrMatcherTest) ... ok testShouldSatisfyIfAnyOfMatchersIsSatisfied (mockito_test.matchers_test.OrMatcherTest) ... ok testShouldTreatNonMatchersAsEqMatcher (mockito_test.matchers_test.OrMatcherTest) ... ok testShouldReturnNoneWhenCallingExistingButUnstubbedMethod (mockito_test.mockingexacttypes_test.MockingExactTypesTest) ... ok testShouldScreamWhenCallingUnexpectedMethod (mockito_test.mockingexacttypes_test.MockingExactTypesTest) ... ok testShouldScreamWhenUnknownMethodStubbed (mockito_test.mockingexacttypes_test.MockingExactTypesTest) ... ok testFailsOnNumberOfCalls (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testFailsVerification (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testShouldThrowIfWeStubAFunctionNotDefinedInTheModule (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubs (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsConsecutiveCalls (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsMultipleClasses (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsTwiceAndUnstubs (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testStubsTwiceWithDifferentArguments (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testUnstubs (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testVerifiesSuccesfully (mockito_test.modulefunctions_test.ModuleFunctionsTest) ... ok testIsVerifiable (mockito_test.spying_test.SpyingTest) ... ok testPassesArgumentsCorrectly (mockito_test.spying_test.SpyingTest) ... ok testPreservesReturnValues (mockito_test.spying_test.SpyingTest) ... ok testPreservesSideEffects (mockito_test.spying_test.SpyingTest) ... ok testRaisesAttributeErrorIfNoSuchMethod (mockito_test.spying_test.SpyingTest) ... ok testDoesNotVerifyStubbedCalls (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testFailsOnInvalidArguments (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testFailsOnNumberOfCalls (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testFailsVerification (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsAndVerifies (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsButDoesNotMachArguments (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsConsecutiveCalls (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsMultipleClasses (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsTwiceAndUnstubs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testStubsWithArgs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testUnstubShouldPreserveMethodType (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testUnstubs (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testVerifiesSuccesfully (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testVerifiesWithArguments (mockito_test.staticmethods_test.StaticMethodsTest) ... ok testDoesNotVerifyStubbedCalls (mockito_test.stubbing_test.StubbingTest) ... ok testLastStubbingWins (mockito_test.stubbing_test.StubbingTest) ... ok testLeavesOriginalMethodUntouchedWhenCreatingStubFromRealClass (mockito_test.stubbing_test.StubbingTest) ... ok testOverridesStubbing (mockito_test.stubbing_test.StubbingTest) ... ok testStubbingOverrides (mockito_test.stubbing_test.StubbingTest) ... ok testStubbingOverrides2 (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndInvokesTwiceAndVerifies (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndReturnValuesForSameMethodWithDifferentArguments (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndReturnValuesForSameMethodWithDifferentNamedArguments (mockito_test.stubbing_test.StubbingTest) ... ok testStubsAndVerifies (mockito_test.stubbing_test.StubbingTest) ... ok testStubsConsecutivelyWhenNoArgsGiven (mockito_test.stubbing_test.StubbingTest) ... ok testStubsForMethodWithSameNameAndNamedArgumentsInArbitraryOrder (mockito_test.stubbing_test.StubbingTest) ... ok testStubsMethodWithSameNameAndMixedArguments (mockito_test.stubbing_test.StubbingTest) ... ok testStubsVerifiesAndStubsAgain (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWhenNoArgsGiven (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedExceptionAndReturnValue (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedExceptions (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedMultipleReturnValues (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedReturnValues (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithChainedReturnValuesAndException (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithException (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMatchers (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMultipleChainedExceptions (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMultipleExceptions (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithMultipleReturnValues (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithReturnValue (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithReturnValueBeingException (mockito_test.stubbing_test.StubbingTest) ... ok testStubsWithThenAnswer (mockito_test.stubbing_test.StubbingTest) ... ok testSubsWithThenAnswerAndMixedArgs (mockito_test.stubbing_test.StubbingTest) ... ok testPrintKeywordArgumentsNicely (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNeverWantedInteractionsNicely (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicely (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicelyArguments (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicelyOneArgument (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsNicelyStringArguments (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsOutThatTheActualAndExpectedInvocationCountDiffers (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testPrintsUnwantedInteraction (mockito_test.verification_errors_test.VerificationErrorsTest) ... ok testErrorMessage (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsAtMostAtLeastAndBetweenVerificationWithWrongArguments (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsIfNoInteractions (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsIfWrongOrderOfInteractions (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsMixedVerifications (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerification (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerificationOfMultipleCalls (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerificationUsingAnyIntMatcher (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsVerificationWithBetween (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsWhenMethodInvokedFourTimesForAtMostTwoVerification (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsWhenMethodInvokedOnceForAtLeastTwoVerification (mockito_test.verifications_test.InorderVerifyTest) ... ok testFailsWhenTimesIsLessThanZero (mockito_test.verifications_test.InorderVerifyTest) ... ok testKeywordArgumentsOrderIsUnimportant (mockito_test.verifications_test.InorderVerifyTest) ... ok testNumberOfTimesDefinedDirectlyInVerify (mockito_test.verifications_test.InorderVerifyTest) ... ok testPassesIfMultipleInteractions (mockito_test.verifications_test.InorderVerifyTest) ... ok testPassesIfOneIteraction (mockito_test.verifications_test.InorderVerifyTest) ... ok testPassesMixedVerifications (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifies (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAnyTimes (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedFourTimes (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedTwice (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedOnce (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedTwice (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesBetween (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesDetectsNamedArguments (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesMultipleCalls (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesMultipleCallsWhenMethodUsedAsFunction (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesUsingAnyIntMatcher (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesUsingAnyMatcher (mockito_test.verifications_test.InorderVerifyTest) ... ok testVerifiesWhenMethodIsUsingKeywordArguments (mockito_test.verifications_test.InorderVerifyTest) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok runTest (mockito_test.verifications_test.VerificationTestBase) ... ok testFails (mockito_test.verifications_test.VerifyNoMoreInteractionsTest) ... ok testVerifies (mockito_test.verifications_test.VerifyNoMoreInteractionsTest) ... ok testFailsAtMostAtLeastAndBetweenVerificationWithWrongArguments (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerification (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerificationOfMultipleCalls (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerificationUsingAnyIntMatcher (mockito_test.verifications_test.VerifyTest) ... ok testFailsVerificationWithBetween (mockito_test.verifications_test.VerifyTest) ... ok testFailsWhenMethodInvokedFourTimesForAtMostTwoVerification (mockito_test.verifications_test.VerifyTest) ... ok testFailsWhenMethodInvokedOnceForAtLeastTwoVerification (mockito_test.verifications_test.VerifyTest) ... ok testFailsWhenTimesIsLessThanZero (mockito_test.verifications_test.VerifyTest) ... ok testKeywordArgumentsOrderIsUnimportant (mockito_test.verifications_test.VerifyTest) ... ok testNumberOfTimesDefinedDirectlyInVerify (mockito_test.verifications_test.VerifyTest) ... ok testVerifies (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAnyTimes (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedFourTimes (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtLeastTwoWhenMethodInvokedTwice (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedOnce (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesAtMostTwoWhenMethodInvokedTwice (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesBetween (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesDetectsNamedArguments (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesMultipleCalls (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesMultipleCallsWhenMethodUsedAsFunction (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesUsingAnyIntMatcher (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesUsingAnyMatcher (mockito_test.verifications_test.VerifyTest) ... ok testVerifiesWhenMethodIsUsingKeywordArguments (mockito_test.verifications_test.VerifyTest) ... ok testVerifyNeverCalled (mockito_test.verifications_test.VerifyTest) ... ok testVerifyNeverCalledRaisesError (mockito_test.verifications_test.VerifyTest) ... ok testVerifies (mockito_test.verifications_test.VerifyZeroInteractionsTest) ... ok ---------------------------------------------------------------------- Ran 213 tests in 0.050s OK + popd ~/RPM/BUILD/mockito-0.7.1 + exit 0 Processing files: python-module-mockito-0.7.1-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.4437 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mockito-0.7.1 + DOCDIR=/usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python-module-mockito-0.7.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python-module-mockito-0.7.1 + /bin/mkdir -p /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python-module-mockito-0.7.1 + cp -prL AUTHORS README.rst /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python-module-mockito-0.7.1 + chmod -R go-w /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python-module-mockito-0.7.1 + chmod -R a+rX /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python-module-mockito-0.7.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.jAOu5P find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hxJsIU find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding inorder, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding spying, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding verification, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding mocking, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding matchers, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/__init__.py: hiding verification, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/inorder.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/invocation.py: hiding matchers, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mocking.py: hiding invocation, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mocking.py: hiding mock_registry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py: hiding verification, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py: hiding mocking, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py: hiding mock_registry, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/mockito.py: hiding verification, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/spying.py: hiding invocation, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito/spying.py: hiding mocking, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/classmethods_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/classmethods_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/instancemethods_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/matchers_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/mockingexacttypes_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/modulefunctions_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/spying_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/spying_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/staticmethods_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/stubbing_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/stubbing_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verification_errors_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.py: hiding mockito_test, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED python.req: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python2.7/site-packages/mockito_test/verifications_test.py: hiding mockito, which SEEMS TO BE SELF-SATISFIED Provides: python2.7(mockito), python2.7(mockito.inorder), python2.7(mockito.invocation), python2.7(mockito.matchers), python2.7(mockito.mock_registry), python2.7(mockito.mocking), python2.7(mockito.mockito), python2.7(mockito.spying), python2.7(mockito.verification), python2.7(mockito_test), python2.7(mockito_test.classmethods_test), python2.7(mockito_test.instancemethods_test), python2.7(mockito_test.matchers_test), python2.7(mockito_test.mockingexacttypes_test), python2.7(mockito_test.modulefunctions_test), python2.7(mockito_test.spying_test), python2.7(mockito_test.staticmethods_test), python2.7(mockito_test.stubbing_test), python2.7(mockito_test.test_base), python2.7(mockito_test.verification_errors_test), python2.7(mockito_test.verifications_test) Requires: /usr/lib/python2.7/site-packages, python-base, python2.7(inspect), python2.7(unittest) Processing files: python3-module-mockito-0.7.1-alt1.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.76979 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mockito-0.7.1 + DOCDIR=/usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + export DOCDIR + rm -rf /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + /bin/mkdir -p /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + cp -prL AUTHORS README.rst /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + chmod -R go-w /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + chmod -R a+rX /usr/src/tmp/python-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Pe50z3 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,python3,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.5yNIQf find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services) /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=26 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=27 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=28 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=31 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=32 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py: line=33 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py: line=22 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py: line=21 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py: line=22 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py: line=24 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py: line=23 possible relative import from ., UNIMPLEMENTED /usr/lib/rpm/python3.req.py: /usr/src/tmp/python-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py: line=24 possible relative import from ., UNIMPLEMENTED Provides: python3(mockito), python3(mockito.inorder), python3(mockito.invocation), python3(mockito.matchers), python3(mockito.mock_registry), python3(mockito.mocking), python3(mockito.mockito), python3(mockito.spying), python3(mockito.verification), python3(mockito_test), python3(mockito_test.classmethods_test), python3(mockito_test.instancemethods_test), python3(mockito_test.matchers_test), python3(mockito_test.mockingexacttypes_test), python3(mockito_test.modulefunctions_test), python3(mockito_test.spying_test), python3(mockito_test.staticmethods_test), python3(mockito_test.stubbing_test), python3(mockito_test.test_base), python3(mockito_test.verification_errors_test), python3(mockito_test.verifications_test) Requires: /usr/lib/python3/site-packages, python3(inspect) < 0, python3(os) < 0, python3(re) < 0, python3(unittest) < 0, python3(warnings) < 0 Wrote: /usr/src/RPM/RPMS/noarch/python-module-mockito-0.7.1-alt1.1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/python3-module-mockito-0.7.1-alt1.1.noarch.rpm (w2.lzdio) 11.05user 1.09system 0:14.79elapsed 82%CPU (0avgtext+0avgdata 41276maxresident)k 0inputs+0outputs (0major+358296minor)pagefaults 0swaps 18.70user 4.29system 0:26.41elapsed 87%CPU (0avgtext+0avgdata 117724maxresident)k 0inputs+0outputs (0major+798074minor)pagefaults 0swaps