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/specifications/%5B/%5D%20/frontends/index.php?a=commitdiff_plain;h=00922c845a66b125a5a41af8800e41c29504c3c6;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)