<86>Apr 1 11:00:02 userdel[3375628]: delete user 'rooter' <86>Apr 1 11:00:02 groupadd[3375820]: group added to /etc/group: name=rooter, GID=615 <86>Apr 1 11:00:02 groupadd[3375820]: group added to /etc/gshadow: name=rooter <86>Apr 1 11:00:02 groupadd[3375820]: new group: name=rooter, GID=615 <86>Apr 1 11:00:02 useradd[3375908]: new user: name=rooter, UID=615, GID=615, home=/root, shell=/bin/bash <86>Apr 1 11:00:02 userdel[3376044]: delete user 'builder' <86>Apr 1 11:00:02 userdel[3376044]: removed group 'builder' owned by 'builder' <86>Apr 1 11:00:02 userdel[3376044]: removed shadow group 'builder' owned by 'builder' <86>Apr 1 11:00:02 groupadd[3376209]: group added to /etc/group: name=builder, GID=616 <86>Apr 1 11:00:02 groupadd[3376209]: group added to /etc/gshadow: name=builder <86>Apr 1 11:00:02 groupadd[3376209]: new group: name=builder, GID=616 <86>Apr 1 11:00:02 useradd[3376269]: new user: name=builder, UID=616, GID=616, home=/usr/src, shell=/bin/bash <13>Apr 1 11:00:07 rpmi: libgdbm-1.8.3-alt10 1454943334 installed <13>Apr 1 11:00:07 rpmi: libexpat-2.2.4-alt1 1503305345 installed <13>Apr 1 11:00:07 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 11:00:07 rpmi: libtasn1-4.16.0-alt1 sisyphus+245480.100.1.1 1580825062 installed <13>Apr 1 11:00:07 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 11:00:07 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Apr 1 11:00:07 rpmi: ca-certificates-2020.01.23-alt1 sisyphus+244791.300.2.1 1580285500 installed <13>Apr 1 11:00:07 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Apr 1 11:00:07 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288204 installed <13>Apr 1 11:00:07 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 11:00:07 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235729 installed <13>Apr 1 11:00:07 rpmi: python3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:00:09 rpmi: python3-base-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:00:09 rpmi: libpython3-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:00:09 rpmi: tests-for-installed-python3-pkgs-0.1.13.1-alt2 1535450458 installed <13>Apr 1 11:00:09 rpmi: rpm-build-python3-0.1.13.1-alt2 1535450458 installed <13>Apr 1 11:00:13 rpmi: python3-module-pkg_resources-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed <13>Apr 1 11:00:13 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994919 installed <13>Apr 1 11:00:13 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512089 installed <13>Apr 1 11:00:13 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091678 installed <86>Apr 1 11:00:13 groupadd[3408447]: group added to /etc/group: name=_keytab, GID=499 <86>Apr 1 11:00:13 groupadd[3408447]: group added to /etc/gshadow: name=_keytab <86>Apr 1 11:00:13 groupadd[3408447]: new group: name=_keytab, GID=499 <13>Apr 1 11:00:13 rpmi: libkrb5-1.17.1-alt1 sisyphus+242784.100.1.1 1576137330 installed <13>Apr 1 11:00:13 rpmi: libtirpc-1.0.3-alt1 1532008017 installed <13>Apr 1 11:00:13 rpmi: libnsl2-1.1.0-alt1_1 1511548749 installed <13>Apr 1 11:00:13 rpmi: python-modules-encodings-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-compiler-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-email-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-unittest-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-nis-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-ctypes-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-multiprocessing-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-modules-logging-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:13 rpmi: python-tools-2to3-2.7.17-alt4 sisyphus+244873.100.2.1 1581419544 installed <13>Apr 1 11:00:14 rpmi: python3-module-nose-1:1.3.7-alt4.git20160316 sisyphus+229068.100.1.1 1557255939 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/python3-module-mockito-0.7.1-alt2.nosrc.rpm <13>Apr 1 11:00:16 rpmi: libtinfo-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 1 11:00:16 rpmi: libncurses-devel-6.1.20180407-alt2 sisyphus+222164.200.1.1 1550686226 installed <13>Apr 1 11:00:16 rpmi: python3-dev-3.8.2-alt1 sisyphus+244999.100.3.1 1585218480 installed <13>Apr 1 11:00:17 rpmi: python3-module-setuptools-1:41.4.0-alt1 sisyphus+238787.100.2.1 1570608044 installed Installing python3-module-mockito-0.7.1-alt2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.35657 + 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 . + find ./ -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 ./setup.py RefactoringTool: No changes to ./mockito_test/verifications_test.py RefactoringTool: Refactored ./mockito_test/verification_errors_test.py RefactoringTool: Refactored ./mockito_test/test_base.py RefactoringTool: Refactored ./mockito_test/stubbing_test.py --- ./mockito_test/verification_errors_test.py (original) +++ ./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() --- ./mockito_test/test_base.py (original) +++ ./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)) --- ./mockito_test/stubbing_test.py (original) +++ ./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): theMock = mock() @@ -255,8 +255,8 @@ when(mocRefactoringTool: Refactored ./mockito_test/staticmethods_test.py kPerson).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() --- ./mockito_test/staticmethods_test.py (original) +++ ./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(1, 2)) + self.assertEqual("woof woof", Dog.barkHardly(1, 2)) RefactoringTool: Refactored ./mockito_test/spying_test.py RefactoringTool: Refactored ./mockito_test/modulefunctions_test.py 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) --- ./mockito_test/spying_test.py (original) +++ ./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)) --- ./mockito_test/modulefunctions_test.py (original) +++ ./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)).thenReturn("mocked") - self.assertEquals(True, os.path.exists("test")) - self.assertEquals("mRefactoringTool: Refactored ./mockito_test/mockingexacttypes_test.py RefactoringTool: No changes to ./mockito_test/matchers_test.py RefactoringTool: Refactored ./mockito_test/instancemethods_test.py ocked", 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, --- ./mockito_test/mockingexacttypes_test.py (original) +++ ./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() --- ./mockito_test/instancemethods_test.py (original) +++ ./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(None, rex.bark('Miau')) + self.assertEqual(None, rex.waggle()) def testVerifyNoMoreInteractionsWorks(self): when(Dog).barRefactoringTool: Refactored ./mockito_test/classmethods_test.py RefactoringTool: No changes to ./mockito/verification.py RefactoringTool: Refactored ./mockito/spying.py RefactoringTool: Refactored ./mockito/mockito.py RefactoringTool: Refactored ./mockito/mocking.py RefactoringTool: Refactored ./mockito/mock_registry.py RefactoringTool: No changes to ./mockito/matchers.py RefactoringTool: Refactored ./mockito/invocation.py k('Miau') --- ./mockito_test/classmethods_test.py (original) +++ ./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() --- ./mockito/spying.py (original) +++ ./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'] --- ./mockito/mockito.py (original) +++ ./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): --- ./mockito/mocking.py (original) +++ ./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 --- ./mockito/mock_registry.py (original) +++ ./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() --- ./mockito/invocation.py (original) +++ ./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 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()] + fRefactoringTool: Refactored ./mockito/inorder.py RefactoringTool: Refactored ./mockito/__init__.py RefactoringTool: Files that were modified: RefactoringTool: ./setup.py RefactoringTool: ./mockito_test/verifications_test.py RefactoringTool: ./mockito_test/verification_errors_test.py RefactoringTool: ./mockito_test/test_base.py RefactoringTool: ./mockito_test/stubbing_test.py RefactoringTool: ./mockito_test/staticmethods_test.py RefactoringTool: ./mockito_test/spying_test.py RefactoringTool: ./mockito_test/modulefunctions_test.py RefactoringTool: ./mockito_test/mockingexacttypes_test.py RefactoringTool: ./mockito_test/matchers_test.py RefactoringTool: ./mockito_test/instancemethods_test.py RefactoringTool: ./mockito_test/classmethods_test.py RefactoringTool: ./mockito/verification.py RefactoringTool: ./mockito/spying.py RefactoringTool: ./mockito/mockito.py RefactoringTool: ./mockito/mocking.py RefactoringTool: ./mockito/mock_registry.py RefactoringTool: ./mockito/matchers.py RefactoringTool: ./mockito/invocation.py RefactoringTool: ./mockito/inorder.py RefactoringTool: ./mockito/__init__.py or 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 --- ./mockito/inorder.py (original) +++ ./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): --- ./mockito/__init__.py (original) +++ ./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.26114 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + 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 + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.88091 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/python3-module-mockito-buildroot + : + /bin/rm -rf -- /usr/src/tmp/python3-module-mockito-buildroot + cd mockito-0.7.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic' + export FFLAGS + /usr/bin/python3 setup.py install --skip-build --root=/usr/src/tmp/python3-module-mockito-buildroot --force running install running install_lib creating /usr/src/tmp/python3-module-mockito-buildroot creating /usr/src/tmp/python3-module-mockito-buildroot/usr creating /usr/src/tmp/python3-module-mockito-buildroot/usr/lib creating /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3 creating /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages creating /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/__init__.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/classmethods_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/instancemethods_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/matchers_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/mockingexacttypes_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/modulefunctions_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/spying_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/staticmethods_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/stubbing_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/test_base.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/verification_errors_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test copying build/lib/mockito_test/verifications_test.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test creating /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/__init__.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/inorder.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/invocation.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/matchers.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/mock_registry.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/mocking.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/mockito.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/spying.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito copying build/lib/mockito/verification.py -> /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py to classmethods_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py to instancemethods_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py to matchers_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py to mockingexacttypes_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py to modulefunctions_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py to spying_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py to staticmethods_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py to stubbing_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py to test_base.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py to verification_errors_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py to verifications_test.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py to __init__.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py to inorder.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py to invocation.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py to matchers.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py to mock_registry.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py to mocking.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py to mockito.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py to spying.cpython-38.pyc byte-compiling /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py to verification.cpython-38.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/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito-0.7.1-py3.8.egg-info running install_scripts + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/python3-module-mockito-buildroot (auto) Verifying and fixing files in /usr/src/tmp/python3-module-mockito-buildroot (binconfig,pkgconfig,libtool,desktop) Checking contents of files in /usr/src/tmp/python3-module-mockito-buildroot/ (default) Compressing files in /usr/src/tmp/python3-module-mockito-buildroot (auto) Adjusting library links in /usr/src/tmp/python3-module-mockito-buildroot ./usr/lib: Verifying ELF objects in /usr/src/tmp/python3-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/python3-module-mockito-buildroot using /usr/bin/python2.7 Bytecompiling python modules with optimization in /usr/src/tmp/python3-module-mockito-buildroot using /usr/bin/python2.7 -O Bytecompiling python3 modules in /usr/src/tmp/python3-module-mockito-buildroot using /usr/bin/python3 unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-38.pyc compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.pyc unlink /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.pyc compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py Bytecompiling python3 modules with optimization in /usr/src/tmp/python3-module-mockito-buildroot using /usr/bin/python3 -O compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verifications_test.py Bytecompiling python3 modules with optimization-2 in /usr/src/tmp/python3-module-mockito-buildroot using /usr/bin/python3 -OO compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/__init__.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/inorder.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/invocation.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/matchers.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mock_registry.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mocking.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/mockito.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/spying.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito/verification.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/__init__.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/classmethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/instancemethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/matchers_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/mockingexacttypes_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/modulefunctions_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/spying_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/staticmethods_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/stubbing_test.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/test_base.py compile /usr/src/tmp/python3-module-mockito-buildroot/usr/lib/python3/site-packages/mockito_test/verification_errors_test.py compile /usr/src/tmp/python3-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-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.opt-1.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.opt-1.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.pyc' './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.opt-2.pyc' => './usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.opt-1.pyc' Hardlinking identical .pyc and .pyo files Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.6144 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mockito-0.7.1 + /usr/bin/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/mockito-0.7.1/build/lib/mockito.egg-info writing /usr/src/RPM/BUILD/mockito-0.7.1/build/lib/mockito.egg-info/PKG-INFO writing dependency_links to /usr/src/RPM/BUILD/mockito-0.7.1/build/lib/mockito.egg-info/dependency_links.txt writing top-level names to /usr/src/RPM/BUILD/mockito-0.7.1/build/lib/mockito.egg-info/top_level.txt writing manifest file '/usr/src/RPM/BUILD/mockito-0.7.1/build/lib/mockito.egg-info/SOURCES.txt' file distribute_setup.py (for module distribute_setup) not found reading manifest file '/usr/src/RPM/BUILD/mockito-0.7.1/build/lib/mockito.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file '/usr/src/RPM/BUILD/mockito-0.7.1/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.095s OK + exit 0 Processing files: python3-module-mockito-0.7.1-alt2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.63127 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd mockito-0.7.1 + DOCDIR=/usr/src/tmp/python3-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + export DOCDIR + rm -rf /usr/src/tmp/python3-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + /bin/mkdir -p /usr/src/tmp/python3-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + cp -prL AUTHORS README.rst /usr/src/tmp/python3-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + chmod -R go-w /usr/src/tmp/python3-module-mockito-buildroot/usr/share/doc/python3-module-mockito-0.7.1 + chmod -R a+rX /usr/src/tmp/python3-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.yU0LUW 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.nk1HrV 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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-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/python3-module-mockito-0.7.1-alt2.noarch.rpm 18.03user 1.08system 0:23.78elapsed 80%CPU (0avgtext+0avgdata 22988maxresident)k 0inputs+0outputs (0major+183529minor)pagefaults 0swaps 27.80user 5.22system 0:43.90elapsed 75%CPU (0avgtext+0avgdata 109104maxresident)k 472inputs+0outputs (0major+635466minor)pagefaults 0swaps --- python3-module-mockito-0.7.1-alt2.noarch.rpm.repo 2020-02-10 08:49:12.000000000 +0000 +++ python3-module-mockito-0.7.1-alt2.noarch.rpm.hasher 2020-04-01 11:00:43.582423135 +0000 @@ -1,36 +1,36 @@ /usr/lib/python3/site-packages/mockito 40755 -/usr/lib/python3/site-packages/mockito-0.7.1-py3.7.egg-info 40755 -/usr/lib/python3/site-packages/mockito-0.7.1-py3.7.egg-info/PKG-INFO 100644 -/usr/lib/python3/site-packages/mockito-0.7.1-py3.7.egg-info/SOURCES.txt 100644 -/usr/lib/python3/site-packages/mockito-0.7.1-py3.7.egg-info/dependency_links.txt 100644 -/usr/lib/python3/site-packages/mockito-0.7.1-py3.7.egg-info/top_level.txt 100644 +/usr/lib/python3/site-packages/mockito-0.7.1-py3.8.egg-info 40755 +/usr/lib/python3/site-packages/mockito-0.7.1-py3.8.egg-info/PKG-INFO 100644 +/usr/lib/python3/site-packages/mockito-0.7.1-py3.8.egg-info/SOURCES.txt 100644 +/usr/lib/python3/site-packages/mockito-0.7.1-py3.8.egg-info/dependency_links.txt 100644 +/usr/lib/python3/site-packages/mockito-0.7.1-py3.8.egg-info/top_level.txt 100644 /usr/lib/python3/site-packages/mockito/__init__.py 100644 /usr/lib/python3/site-packages/mockito/__pycache__ 40755 -/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/inorder.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/invocation.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/matchers.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mock_registry.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mocking.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/mockito.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/spying.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito/__pycache__/verification.cpython-38.pyc 100644 /usr/lib/python3/site-packages/mockito/inorder.py 100644 @@ -46,38 +46,38 @@ /usr/lib/python3/site-packages/mockito_test/__pycache__ 40755 -/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-37.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.opt-1.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.opt-2.pyc 100644 -/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-37.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/__init__.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/classmethods_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/instancemethods_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/matchers_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/mockingexacttypes_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/modulefunctions_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/spying_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/staticmethods_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/stubbing_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/test_base.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/verification_errors_test.cpython-38.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.opt-1.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.opt-2.pyc 100644 +/usr/lib/python3/site-packages/mockito_test/__pycache__/verifications_test.cpython-38.pyc 100644 /usr/lib/python3/site-packages/mockito_test/classmethods_test.py 100644