~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Aaron Bentley
  • Date: 2007-07-13 06:10:29 UTC
  • mfrom: (2616 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2617.
  • Revision ID: aaron.bentley@utoronto.ca-20070713061029-9ebz58a3yvvax5du
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
        out = self.run_bzr("version")[0]
27
27
        self.assertTrue(len(out) > 0)
28
28
        self.assertEquals(1, out.count(bzrlib.__version__))
29
 
        self.assertEquals(1, out.count("Using Python interpreter:"))
30
 
        self.assertEquals(1, out.count("Using Python standard library:"))
31
 
        self.assertEquals(1, out.count("Using bzrlib:"))
32
 
        self.assertEquals(1, out.count("Using Bazaar configuration:"))
33
 
        self.assertContainsRe(out, r'(?m)^Using Bazaar log file:.*bzr\.log')
 
29
        self.assertContainsRe(out, r"(?m)^  Python interpreter:")
 
30
        self.assertContainsRe(out, r"(?m)^  Python standard library:")
 
31
        self.assertContainsRe(out, r"(?m)^  bzrlib:")
 
32
        self.assertContainsRe(out, r"(?m)^  Bazaar configuration:")
 
33
        self.assertContainsRe(out, r'(?m)^  Bazaar log file:.*bzr\.log')