/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

Setting NO_SMART_VFS in environment will disable VFS methods in the smart server. (Robert Collins, John Arbash Meinel, Andrew Bennetts)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
class TestErrors(TestCaseWithTransport):
28
28
 
 
29
    def test_disabled_method(self):
 
30
        error = errors.DisabledMethod("class name")
 
31
        self.assertEqualDiff(
 
32
            "The smart server method 'class name' is disabled.", str(error))
 
33
 
29
34
    def test_inventory_modified(self):
30
35
        error = errors.InventoryModified("a tree to be repred")
31
36
        self.assertEqualDiff("The current inventory for the tree 'a tree to "