daira points out bug

This commit is contained in:
meejah 2016-03-15 10:00:04 -06:00 committed by Brian Warner
parent 5f073c6987
commit 625c5a42cd

View File

@ -263,8 +263,8 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
d1 = self.alice_magicfolder.downloader.set_hook('iteration') d1 = self.alice_magicfolder.downloader.set_hook('iteration')
self.alice_clock.advance(self.alice_magicfolder.uploader.scan_interval + 1) self.alice_clock.advance(self.alice_magicfolder.uploader.scan_interval + 1)
d0.addCallback(lambda ign: d1) d0.addCallback(lambda ign: d1)
d1.addCallback(lambda ign: result) d0.addCallback(lambda ign: result)
return d1 return d0
d.addCallback(get_Alice_magicfolder) d.addCallback(get_Alice_magicfolder)
# Alice invites Bob. Bob joins. # Alice invites Bob. Bob joins.
@ -286,8 +286,8 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
d1 = self.bob_magicfolder.downloader.set_hook('iteration') d1 = self.bob_magicfolder.downloader.set_hook('iteration')
self.bob_clock.advance(self.alice_magicfolder.uploader.scan_interval + 1) self.bob_clock.advance(self.alice_magicfolder.uploader.scan_interval + 1)
d0.addCallback(lambda ign: d1) d0.addCallback(lambda ign: d1)
d1.addCallback(lambda ign: result) d0.addCallback(lambda ign: result)
return d1 return d0
d.addCallback(get_Bob_magicfolder) d.addCallback(get_Bob_magicfolder)
return d return d