From: David Stainton Date: Wed, 9 Dec 2015 15:35:26 +0000 (+0200) Subject: Fix magic folder constructor signature in test X-Git-Url: https://git.rkrishnan.org/%5B/frontends/quickstart.html?a=commitdiff_plain;h=refs%2Fpull%2F212%2Fhead;p=tahoe-lafs%2Ftahoe-lafs.git Fix magic folder constructor signature in test --- diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index cf17713f..00f72275 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -306,10 +306,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