/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/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-06-12 18:16:35 UTC
  • mfrom: (1185.84.3 bundles)
  • Revision ID: pqm@pqm.ubuntu.com-20060612181635-930f7114f61dbfcb
Hide diffs for old revisions in bundles

Show diffs side-by-side

added added

removed removed

Lines of Context:
484
484
            raise AssertionError('pattern "%s" not found in "%s"'
485
485
                    % (needle_re, haystack))
486
486
 
 
487
    def assertNotContainsRe(self, haystack, needle_re):
 
488
        """Assert that a does not match a regular expression"""
 
489
        if re.search(needle_re, haystack):
 
490
            raise AssertionError('pattern "%s" found in "%s"'
 
491
                    % (needle_re, haystack))
 
492
 
487
493
    def assertSubset(self, sublist, superlist):
488
494
        """Assert that every entry in sublist is present in superlist."""
489
495
        missing = []