/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 bzrlib/tests/test_errors.py

  • Committer: Jonathan Lange
  • Date: 2007-04-20 02:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 2446.
  • Revision ID: jml@canonical.com-20070420022738-07tr3bqahw14ftdh
Include branch information in UnknownBugTrackerAbbreviation

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
 
243
243
    def test_unknown_bug_tracker_abbreviation(self):
244
244
        """Test the formatting of UnknownBugTrackerAbbreviation."""
245
 
        error = errors.UnknownBugTrackerAbbreviation('xxx')
 
245
        branch = self.make_branch('some_branch')
 
246
        error = errors.UnknownBugTrackerAbbreviation('xxx', branch)
246
247
        self.assertEqual(
247
 
            "Cannot find registered bug tracker for xxx",
 
248
            "Cannot find registered bug tracker called xxx on %s" % branch,
248
249
            str(error))
249
250
 
250
251