From 530085df4af41d3cca79cec7fee702dc9c04dbe2 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Tue, 6 Nov 2007 18:56:39 -0700 Subject: [PATCH] test_mutable: remove dead code --- src/allmydata/test/test_mutable.py | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/allmydata/test/test_mutable.py b/src/allmydata/test/test_mutable.py index 8665be8d..25b3e28f 100644 --- a/src/allmydata/test/test_mutable.py +++ b/src/allmydata/test/test_mutable.py @@ -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() -- 2.45.2