~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-04-28 05:54:46 UTC
  • mfrom: (3383.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080428055446-p0m8jwv1jzegn933
Merge back 1.4 to trunk

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