Prechádzať zdrojové kódy

Fix tests with testtools installed.

Jelmer Vernooij 14 rokov pred
rodič
commit
fe99d7c9db

+ 1 - 0
dulwich/tests/test_protocol.py

@@ -198,6 +198,7 @@ class CapabilitiesTestCase(TestCase):
 class BufferedPktLineWriterTests(TestCase):
 
     def setUp(self):
+        TestCase.setUp(self)
         self._output = StringIO()
         self._writer = BufferedPktLineWriter(self._output.write, bufsize=16)
 

+ 1 - 0
dulwich/tests/test_server.py

@@ -93,6 +93,7 @@ class TestGenericHandler(Handler):
 class HandlerTestCase(TestCase):
 
     def setUp(self):
+        super(HandlerTestCase, self).setUp()
         self._handler = TestGenericHandler()
 
     def assertSucceeds(self, func, *args, **kwargs):