From 7ee8ab4ac781d3cb01d012e9ee35901199e2e5e8 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 21 Jul 2015 00:29:14 +0100 Subject: [PATCH] Add ready method to MockMagicFolder to partially fix a test. Signed-off-by: Daira Hopwood --- src/allmydata/test/test_client.py | 3 +++ 1 file changed, 3 insertions(+) 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" -- 2.45.2