~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: 2008-04-28 03:52:09 UTC
  • mfrom: (3360.3.3 1.4)
  • mto: This revision was merged to the branch mainline in revision 3385.
  • Revision ID: mbp@sourcefrog.net-20080428035209-2sfjlaeijx20wt1z
Merge back 1.4 and start 1.5 (but not transaction cache reinstatement)

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        self.assertContainsRe(out, r"(?m)^  Bazaar configuration:")
45
45
        self.assertContainsRe(out, r'(?m)^  Bazaar log file:.*\.bzr\.log')
46
46
 
 
47
    def test_version_short(self):
 
48
        out = self.run_bzr(["version", "--short"])[0]
 
49
        self.assertEqualDiff(out, bzrlib.version_string + '\n')
 
50
 
47
51
 
48
52
class TestVersionUnicodeOutput(TestCaseInTempDir):
49
53