~bzr/bzr/bzr.1.5

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_version_info.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-07 07:27:16 UTC
  • mfrom: (3408.2.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080507072716-lr54bdt55km4feso
(mbp) Remove code deprecated prior to 1.1 and its tests

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')