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/seg/bcase?a=commitdiff_plain;h=7ee8ab4ac781d3cb01d012e9ee35901199e2e5e8;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"