test_mutable: remove dead code

This commit is contained in:
Brian Warner 2007-11-06 18:56:39 -07:00
parent 0b2f62466b
commit 530085df4a
1 changed files with 1 additions and 14 deletions

View 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()