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