]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
merge patch to integrate decentralized directories with patch "download: use hierarch...
authorZooko O'Whielacronx <zooko@zooko.com>
Mon, 3 Dec 2007 22:27:21 +0000 (15:27 -0700)
committerZooko O'Whielacronx <zooko@zooko.com>
Mon, 3 Dec 2007 22:27:21 +0000 (15:27 -0700)
src/allmydata/test/test_upload.py

index f4318565e313b46dc500771a9bd3b480f48b4e05..7ec458e53bbcb6fc3c031339419b50e6f106b3c6 100644 (file)
@@ -139,6 +139,9 @@ class FakeClient:
     def __init__(self, mode="good", num_servers=50):
         self.mode = mode
         self.num_servers = num_servers
+        self.introducer_client = FakeIntroducerClient()
+    def log(self, *args, **kwargs):
+        pass
     def get_permuted_peers(self, storage_index, include_myself):
         peers = [ ("%20d"%fakeid, "%20d"%fakeid, FakePeer(self.mode),)
                   for fakeid in range(self.num_servers) ]