~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Ian Clatworthy
  • Date: 2008-07-04 03:29:14 UTC
  • mfrom: (3015.3.59 check)
  • mto: This revision was merged to the branch mainline in revision 3521.
  • Revision ID: ian.clatworthy@canonical.com-20080704032914-ymz2feecr4qxe160
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$")