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

Move InvalidPattern error to breezy.lazy_regex.

This merges https://code.launchpad.net/~jelmer/brz/move-errors-lazy-regex/+merge/327181

Show diffs side-by-side

added added

removed removed

Lines of Context:
619
619
        err = errors.NotBranchError('path', controldir=FakeBzrDir())
620
620
        self.assertEqual('Not a branch: "path": NotBranchError.', str(err))
621
621
 
622
 
    def test_invalid_pattern(self):
623
 
        error = errors.InvalidPattern('Bad pattern msg.')
624
 
        self.assertEqualDiff("Invalid pattern(s) found. Bad pattern msg.",
625
 
            str(error))
626
 
 
627
622
    def test_recursive_bind(self):
628
623
        error = errors.RecursiveBind('foo_bar_branch')
629
624
        msg = ('Branch "foo_bar_branch" appears to be bound to itself. '