~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_check.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-07-04 03:56:20 UTC
  • mfrom: (3519.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080704035620-zy61drff8onhjxno
Fix check to understand split up .bzr format (Daniel Mark Watkins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
    def test_check_one_commit_tree(self):
33
33
        tree = self.make_branch_and_tree('.')
34
34
        tree.commit('hallelujah')
35
 
        self.run_bzr('check')
 
35
        out, err = self.run_bzr('check')
 
36
        self.assertContainsRe(err, r"^Checking working tree at '.*'\.\n"
 
37
                                   r"Checking repository at '.*'\.\n"
 
38
                                   r"checked repository.*\n"
 
39
                                   r"     1 revisions\n"
 
40
                                   r"     0 file-ids\n"
 
41
                                   r"     0 unique file texts\n"
 
42
                                   r"     0 repeated file texts\n"
 
43
                                   r"     0 unreferenced text versions\n"
 
44
                                   r"Checking branch at '.*'\.\n"
 
45
                                   r"checked branch.*\n$")