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/?a=commitdiff_plain;h=b9b122caa680d7a3d7caf5c57fa2e892bc0ef512;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)