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/-?a=commitdiff_plain;h=1d2ae08b0b21e9bde811550979b744d34ac9c03d;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"