From: Daira Hopwood Date: Mon, 20 Jul 2015 23:29:14 +0000 (+0100) Subject: Add ready method to MockMagicFolder to partially fix a test. X-Git-Url: https://git.rkrishnan.org/pf/content/en/using.html?a=commitdiff_plain;h=f52bea12acd1e6eeefe11fe36a2a9ed46e1bc497;p=tahoe-lafs%2Ftahoe-lafs.git Add ready method to MockMagicFolder to partially fix a test. Signed-off-by: Daira Hopwood --- diff --git a/src/allmydata/test/test_client.py b/src/allmydata/test/test_client.py index 74ed4f74..4c30686f 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -316,6 +316,9 @@ class Basic(testutil.ReallyEqualMixin, testutil.NonASCIIPathMixin, unittest.Test self.dbfile = dbfile self.inotify = inotify + def ready(self): + pass + self.patch(allmydata.frontends.magic_folder, 'MagicFolder', MockMagicFolder) upload_dircap = "URI:DIR2:blah"