~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Martin Pool
  • Date: 2007-07-02 05:24:07 UTC
  • mto: This revision was merged to the branch mainline in revision 2567.
  • Revision ID: mbp@sourcefrog.net-20070702052407-z66ymyo539uuvp1k
Improved phrasing in version output

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:"))
 
29
        self.assertEquals(1, out.count("Using Python interpreter:"))
 
30
        self.assertEquals(1, out.count("Using Python standard library:"))
31
31
        self.assertEquals(1, out.count("Using bzrlib:"))
32
 
        self.assertEquals(1, out.count("Using bazaar configuration:"))
33
 
        self.assertContainsRe(out, r'(?m)^Logging to:.*bzr\.log')
 
32
        self.assertEquals(1, out.count("Using Bazaar configuration:"))
 
33
        self.assertContainsRe(out, r'(?m)^Using Bazaar log file:.*bzr\.log')