From: David Stainton Date: Fri, 11 Sep 2015 13:34:19 +0000 (+0200) Subject: fix unit test helper _wait_until_started by using ready() X-Git-Url: https://git.rkrishnan.org/zeppelin?a=commitdiff_plain;h=39f08396457b0d6ec363c2b74e9789b01c97bf43;p=tahoe-lafs%2Ftahoe-lafs.git fix unit test helper _wait_until_started by using ready() --- 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)