]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
test_storage.py: clean up arguments to FakeAccount methods.
authorDaira Hopwood <daira@jacaranda.org>
Mon, 27 May 2013 21:27:35 +0000 (22:27 +0100)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 16 Oct 2015 16:58:53 +0000 (17:58 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/test/test_storage.py

index 8cc22b2d755bb6f1b8c2e9e74170e7d74c0bdaca..5f197eeb2e5fe6cf6651a0df2f9959f9d30b385c 100644 (file)
@@ -65,11 +65,11 @@ from allmydata.web.storage import StorageStatus, remove_prefix
 class FakeAccount:
     def __init__(self, server):
         self.server = server
-    def add_share(self, storage_index, shnum, used_space, sharetype, commit=True):
+    def add_share(self, storage_index, shnum, used_space, sharetype):
         pass
-    def add_or_renew_default_lease(self, storage_index, shnum, commit=True):
+    def add_or_renew_default_lease(self, storage_index, shnum):
         pass
-    def mark_share_as_stable(self, storage_index, shnum, used_space, commit=True):
+    def mark_share_as_stable(self, storage_index, shnum, used_space):
         pass
 
 class FakeStatsProvider: