Merge Dave's fixes for the compatibility tests and web.
[jelmer/dulwich-libgit2.git] / dulwich / tests / compat / test_web.py
index 36e1522fb8bbd8deeaafced6a74194a6c6026f8c..5a1c038c3a26bb1c8f6bbacdc17fc3853e074c5e 100644 (file)
@@ -29,7 +29,6 @@ from wsgiref import simple_server
 
 from dulwich.server import (
     DictBackend,
-    GitBackendRepo,
     )
 from dulwich.web import (
     HTTPGitApplication,
@@ -69,7 +68,7 @@ class WebTests(ServerTests):
     protocol = 'http'
 
     def _start_server(self, repo):
-        backend = DictBackend({'/': GitBackendRepo(repo)})
+        backend = DictBackend({'/': repo})
         app = self._make_app(backend)
         dul_server = simple_server.make_server('localhost', 0, app,
                                                server_class=WSGIServer)