~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commands.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-07-16 10:47:45 UTC
  • mfrom: (6027.1.7 deprecations)
  • Revision ID: pqm@pqm.ubuntu.com-20110716104745-8n8mgnn7ld7dcf8w
(vila) Remove commands, diff and trace deprecated stuff (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
354
354
        cmds = list(commands.all_command_names())
355
355
        self.assertEqual(['called'], hook_calls)
356
356
        self.assertSubset(['foo', 'bar'], cmds)
357
 
 
358
 
 
359
 
class TestDeprecations(tests.TestCase):
360
 
 
361
 
    def test_shlex_split_unicode_deprecation(self):
362
 
        res = self.applyDeprecated(
363
 
                symbol_versioning.deprecated_in((2, 2, 0)),
364
 
                commands.shlex_split_unicode, 'whatever')