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

index ddde6f370c696def579b40161d144c1c30d12437..573dcb696ce2672cfb5f91ada10207b6b68ad2da 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: