Merge Dave's fixes for the compatibility tests and web.
[jelmer/dulwich-libgit2.git] / dulwich / tests / compat / test_server.py
index 86a583378e90800fa124e27c7f2e7b5f3048cd0b..1d2847ebf46aaee06614a2591a9f1efeb1b3cba0 100644 (file)
@@ -28,7 +28,6 @@ import threading
 
 from dulwich.server import (
     DictBackend,
-    GitBackendRepo,
     TCPGitServer,
     )
 from server_utils import (
@@ -69,7 +68,7 @@ class GitServerTestCase(ServerTests, CompatTestCase):
         CompatTestCase.tearDown(self)
 
     def _start_server(self, repo):
-        backend = DictBackend({'/': GitBackendRepo(repo)})
+        backend = DictBackend({'/': repo})
         dul_server = TCPGitServer(backend, 'localhost', 0)
         threading.Thread(target=dul_server.serve).start()
         self._server = dul_server