]> 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>
Tue, 4 Aug 2015 18:10:28 +0000 (19:10 +0100)
Signed-off-by: Daira Hopwood <david-sarah@jacaranda.org>
src/allmydata/test/test_storage.py

index 15146257d1f95683f04f721520cc68cc9ea62723..d8d0ed541667b243ce4808f01dc66131243871a6 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: