From 39f08396457b0d6ec363c2b74e9789b01c97bf43 Mon Sep 17 00:00:00 2001 From: David Stainton Date: Fri, 11 Sep 2015 15:34:19 +0200 Subject: [PATCH] fix unit test helper _wait_until_started by using ready() --- src/allmydata/test/test_magic_folder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/allmydata/test/test_magic_folder.py b/src/allmydata/test/test_magic_folder.py index b291b3c0..5ce83fba 100644 --- a/src/allmydata/test/test_magic_folder.py +++ b/src/allmydata/test/test_magic_folder.py @@ -52,7 +52,7 @@ class MagicFolderTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, ReallyEqual def _wait_until_started(self, ign): print "_wait_until_started" self.magicfolder = self.get_client().getServiceNamed('magic-folder') - return self.magicfolder.uploader.started_d + return self.magicfolder.ready() def _create_magicfolder(self, ign): dbfile = abspath_expanduser_unicode(u"magicfolderdb.sqlite", base=self.basedir) -- 2.45.2