]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Fix magic folder constructor signature in test
authorDavid Stainton <dstainton415@gmail.com>
Wed, 9 Dec 2015 15:35:26 +0000 (17:35 +0200)
committerDaira Hopwood <daira@jacaranda.org>
Fri, 5 Feb 2016 21:59:38 +0000 (21:59 +0000)
src/allmydata/test/test_client.py

index 45518f8fd98eb6478f119e9d46232e7fb66babce..04664ad2f529604fcdb37594c5fc7c208f81345e 100644 (file)
@@ -318,10 +318,11 @@ class Basic(testutil.ReallyEqualMixin, testutil.NonASCIIPathMixin, unittest.Test
         class MockMagicFolder(service.MultiService):
             name = 'magic-folder'
 
-            def __init__(self, client, upload_dircap, collective_dircap, local_dir, dbfile, inotify=None,
+            def __init__(self, client, upload_dircap, collective_dircap, local_dir, dbfile, umask, inotify=None,
                          pending_delay=1.0):
                 service.MultiService.__init__(self)
                 self.client = client
+                self._umask = umask
                 self.upload_dircap = upload_dircap
                 self.collective_dircap = collective_dircap
                 self.local_dir = local_dir