]> 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, 17 Apr 2015 21:31:40 +0000 (22:31 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/test/test_storage.py

index 38e91f504a1fc08262a25806442871b333f56a1b..15dc169ec4b73c3b073d7f1608a471fb80353c0f 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: