From 7ebff7f1f5a77ddba17db46a4cfa3419cb5107f9 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Tue, 7 Jul 2015 00:44:48 +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 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" -- 2.45.2