~lifeless/bzr/index.range_map

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version_info.py

  • Committer: Robert Collins
  • Date: 2008-06-19 01:17:19 UTC
  • mfrom: (3218.1.277 +trunk)
  • Revision ID: robertc@robertcollins.net-20080619011719-1c4g4uxzzhdls2wf
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
296
296
                         registry.get_help('testbuilder'))
297
297
        registry.remove('testbuilder')
298
298
        self.assertRaises(KeyError, registry.get, 'testbuilder')
299
 
 
300
 
    def test_old_functions(self):
301
 
        self.applyDeprecated(symbol_versioning.one_zero,
302
 
            version_info_formats.register_builder,
303
 
            'test-builder', __name__, 'TestBuilder')
304
 
        formats = self.applyDeprecated(symbol_versioning.one_zero,
305
 
            version_info_formats.get_builder_formats)
306
 
        self.failUnless('test-builder' in formats)
307
 
        self.assertIs(TestBuilder,
308
 
            self.applyDeprecated(symbol_versioning.one_zero,
309
 
                version_info_formats.get_builder, 'test-builder'))
310
 
        version_info_formats.format_registry.remove('test-builder')