]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fix unit test helper _wait_until_started by using ready()
authorDavid Stainton <dstainton415@gmail.com>
Fri, 11 Sep 2015 13:34:19 +0000 (15:34 +0200)
committerDaira Hopwood <daira@jacaranda.org>
Tue, 15 Sep 2015 17:43:00 +0000 (18:43 +0100)
src/allmydata/test/test_magic_folder.py

index b291b3c0c24fb8585f7d29b8522ece62de3063cf..5ce83fba19ab88da0569566d4f00a72e10b9ad41 100644 (file)
@@ -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)