/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: Canonical.com Patch Queue Manager
  • Date: 2007-06-26 23:43:09 UTC
  • mfrom: (2550.2.5 api_api)
  • Revision ID: pqm@pqm.ubuntu.com-20070626234309-j6n7rdpbmjjfgicn
(robertc) Export explicit API compatibility for bzrlib.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        self.assertEqualDiff('The prefix foo is in the help search path twice.',
47
47
            str(error))
48
48
 
 
49
    def test_incompatibleAPI(self):
 
50
        error = errors.IncompatibleAPI("module", (1, 2, 3), (4, 5, 6), (7, 8, 9))
 
51
        self.assertEqualDiff(
 
52
            'The API for "module" is not compatible with "(1, 2, 3)". '
 
53
            'It supports versions "(4, 5, 6)" to "(7, 8, 9)".',
 
54
            str(error))
 
55
 
49
56
    def test_inventory_modified(self):
50
57
        error = errors.InventoryModified("a tree to be repred")
51
58
        self.assertEqualDiff("The current inventory for the tree 'a tree to "