/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/bisect/tests.py

  • Committer: Breezy landing bot
  • Author(s): Martin
  • Date: 2017-05-24 16:53:57 UTC
  • mfrom: (6631.1.1 test_fallout_and_warnings)
  • Revision ID: breezy.the.bot@gmail.com-20170524165357-fo7w8h2mnuq7binu
Fix test failures including ones seen when running python with -Werror

Merged from https://code.launchpad.net/~gz/brz/test_fallout_and_warnings/+merge/324544

Show diffs side-by-side

added added

removed removed

Lines of Context:
315
315
        test_file.close()
316
316
 
317
317
        out, err = self.run_bzr(['bisect', 'reset'], retcode=3)
318
 
        self.assert_("No bisection in progress." in err)
 
318
        self.assertIn("No bisection in progress.", err)
319
319
 
320
320
        test_file = open("test_file")
321
321
        content = test_file.read().strip()
322
322
        test_file.close()
323
 
        self.failUnless(content == "keep me")
 
323
        self.assertEqual(content, "keep me")
324
324
 
325
325
    def testLog(self):
326
326
        """Test saving the current bisection state, and re-loading it."""