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>
Mon, 28 Dec 2015 16:18:55 +0000 (16:18 +0000)
src/allmydata/test/test_client.py

index adf87420060df2d04636bca9be8d65af24654d26..8a2ca24c3ff95b3a3df6b77a802d7cb05b97a1b9 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