Merge Dave's fixes for the compatibility tests and web.
[jelmer/dulwich-libgit2.git] / dulwich / tests / test_web.py
index aea558a39aa502f48df03bdd237499bd39e6a5f1..17bf499dff32f2ad8a9e33a61cd67927e35b7448 100644 (file)
@@ -23,7 +23,6 @@ import re
 from unittest import TestCase
 
 from dulwich.objects import (
-    Tag,
     Blob,
     )
 from dulwich.web import (
@@ -111,10 +110,10 @@ class DumbHandlersTestCase(WebTestCase):
         tag1 = TestTag('aaa', Blob, '222')
 
         class TestRepo(object):
+
             def __init__(self, objects, peeled):
                 self._objects = dict((o.sha(), o) for o in objects)
                 self._peeled = peeled
-                self.repo = self
 
             def get_peeled(self, sha):
                 return self._peeled[sha]