~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Vincent Ladeuil
  • Date: 2007-07-15 11:24:18 UTC
  • mfrom: (2617 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2646.
  • Revision ID: v.ladeuil+lp@free.fr-20070715112418-9nn4n6esxv60ny4b
merge bzr.dev@1617

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')