~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version_info.py

  • Committer: Aaron Bentley
  • Date: 2008-03-03 16:52:41 UTC
  • mfrom: (3144.3.11 fix-conflict-handling)
  • mto: This revision was merged to the branch mainline in revision 3250.
  • Revision ID: aaron@aaronbentley.com-20080303165241-0k2c7ggs6kr9q6hf
Merge with fix-conflict-handling

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
import sys
23
23
 
24
24
from bzrlib import (
 
25
    errors,
25
26
    symbol_versioning,
26
27
    tests,
27
28
    version_info_formats,
257
258
        self.assertEqual(val, 'clean: 0')
258
259
        os.remove('branch/c')
259
260
 
 
261
    def test_custom_without_template(self):
 
262
        builder = CustomVersionInfoBuilder(None)
 
263
        sio = StringIO()
 
264
        self.assertRaises(errors.NoTemplate, builder.generate, sio)
 
265
 
260
266
 
261
267
class TestBuilder(version_info_formats.VersionInfoBuilder):
262
268
    pass