~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2007-07-18 20:42:38 UTC
  • mfrom: (2625 +trunk)
  • mto: This revision was merged to the branch mainline in revision 2643.
  • Revision ID: john@arbash-meinel.com-20070718204238-5gi11fx04q7zt72d
[merge] bzr.dev 2625

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