]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_mutable: remove dead code
authorBrian Warner <warner@allmydata.com>
Wed, 7 Nov 2007 01:56:39 +0000 (18:56 -0700)
committerBrian Warner <warner@allmydata.com>
Wed, 7 Nov 2007 01:56:39 +0000 (18:56 -0700)
src/allmydata/test/test_mutable.py

index 8665be8d1ca1825e89c7170684ce87539c71f81a..25b3e28fb9267226e900df077672e19738109af2 100644 (file)
@@ -82,20 +82,6 @@ class FakePublish(mutable.Publish):
         answer = (True, readv)
         return defer.succeed(answer)
 
-class FakeRetrieve(mutable.Retrieve):
-    def _do_query(self, args):
-        pass
-    def _deserialize_pubkey(self, pubkey_s):
-        return FakePubKey(134)
-
-class LessFakeFilenode(mutable.MutableFileNode):
-    publish_class = FakePublish
-    retrieve_class = FakeRetrieve
-
-    def _generate_pubprivkeys(self):
-        count = self.counter.next()
-        return FakePubKey(count), FakePrivKey(count)
-
 
 class FakeNewDirectoryNode(dirnode2.NewDirectoryNode):
     filenode_class = FakeFilenode
@@ -171,6 +157,7 @@ class Filenode(unittest.TestCase):
         d.addCallback(_created)
         return d
 
+
 class Publish(unittest.TestCase):
     def test_encrypt(self):
         c = MyClient()