Make sure TestCase.setUp() is called, remove unused import.
authorJelmer Vernooij <jelmer@samba.org>
Wed, 11 Aug 2010 21:57:35 +0000 (23:57 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Wed, 11 Aug 2010 21:57:35 +0000 (23:57 +0200)
dulwich/tests/test_patch.py
dulwich/tests/test_server.py

index 00de904847a2550c3b37c515246086d1e127004f..5ecacecaa2627323774eb57f452dedab36b5fa31 100644 (file)
@@ -28,7 +28,9 @@ from dulwich.patch import (
     git_am_patch_split,
     write_commit_patch,
     )
-from dulwich.tests import TestCase
+from dulwich.tests import (
+    TestCase,
+    )
 
 
 class WriteCommitPatchTests(TestCase):
index e64954a2a49d8009d5ce7012707faf4e237637c5..59723496619889e0cbc53aa48dceb7800f9b4ff6 100644 (file)
@@ -29,7 +29,6 @@ from dulwich.repo import (
 from dulwich.server import (
     Backend,
     DictBackend,
-    BackendRepo,
     Handler,
     MultiAckGraphWalkerImpl,
     MultiAckDetailedGraphWalkerImpl,
@@ -142,6 +141,7 @@ class HandlerTestCase(TestCase):
 class UploadPackHandlerTestCase(TestCase):
 
     def setUp(self):
+        super(UploadPackHandlerTestCase, self).setUp()
         self._repo = MemoryRepo.init_bare([], {})
         backend = DictBackend({'/': self._repo})
         self._handler = UploadPackHandler(