~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Alexander Belchenko
  • Date: 2008-02-16 10:03:17 UTC
  • mfrom: (3224 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3230.
  • Revision ID: bialix@ukr.net-20080216100317-xg1hdw306evlgt94
merge bzr.dev; update for 1.3; $BZR_LOG used in trace.py module (again), not in the main bzr script (req. by Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
        txt = self.run_bzr('version-info --format python branch')[0]
135
135
 
136
136
        self.assertContainsRe(txt, 'version_info = {')
 
137
 
 
138
    def test_custom_without_template(self):
 
139
        wt = self.make_branch_and_tree('branch')
 
140
        out, err = self.run_bzr('version-info --custom', retcode=3)
 
141
        self.assertContainsRe(err, r'ERROR: No template specified\.')