'positive' version of assert

This commit is contained in:
meejah 2018-04-24 11:00:25 -06:00
parent a0546fff7b
commit 158498f61a

View File

@ -878,7 +878,7 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
yield bob_proc # bob downloads
# ...so now bob should produce a conflict
self.failUnless(os.path.exists(bob_fname + '.conflict'))
self.assertTrue(os.path.exists(bob_fname + '.conflict'))
@defer.inlineCallbacks
def test_conflict_local_change_existing(self):
@ -916,7 +916,7 @@ class MagicFolderAliceBobTestMixin(MagicFolderCLITestMixin, ShouldFailMixin, Rea
yield bob_proc # bob downloads
# ...so now bob should produce a conflict
self.failUnless(os.path.exists(bob_fname + '.conflict'))
self.assertTrue(os.path.exists(bob_fname + '.conflict'))
@defer.inlineCallbacks
def test_alice_delete_and_restore(self):