From: Daira Hopwood Date: Mon, 6 Jul 2015 23:44:48 +0000 (+0100) Subject: Add ready method to MockMagicFolder to partially fix a test. X-Git-Url: https://git.rkrishnan.org/%5B/frontends/%22news.html/something?a=commitdiff_plain;h=7ebff7f1f5a77ddba17db46a4cfa3419cb5107f9;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 8a3aece6..da45c07d 100644 --- a/src/allmydata/test/test_client.py +++ b/src/allmydata/test/test_client.py @@ -313,6 +313,9 @@ class Basic(testutil.ReallyEqualMixin, testutil.NonASCIIPathMixin, unittest.Test self.dbfile = dbfile self.inotify = inotify + def ready(self): + pass + mock_magic_folder.side_effect = MockMagicFolder upload_dircap = "URI:DIR2:blah"