~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_errors.py

  • Committer: Robert Collins
  • Date: 2007-07-20 03:20:20 UTC
  • mfrom: (2592 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2635.
  • Revision ID: robertc@robertcollins.net-20070720032020-xiftpb5gqeebo861
(robertc) Reinstate the accidentally backed out external_url patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
            'It supports versions "(4, 5, 6)" to "(7, 8, 9)".',
54
54
            str(error))
55
55
 
 
56
    def test_in_process_transport(self):
 
57
        error = errors.InProcessTransport('fpp')
 
58
        self.assertEqualDiff(
 
59
            "The transport 'fpp' is only accessible within this process.",
 
60
            str(error))
 
61
 
56
62
    def test_inventory_modified(self):
57
63
        error = errors.InventoryModified("a tree to be repred")
58
64
        self.assertEqualDiff("The current inventory for the tree 'a tree to "