~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_commands.py

  • Committer: Martin Pool
  • Date: 2011-07-04 21:10:37 UTC
  • mto: (6034.1.1 filter-tree)
  • mto: This revision was merged to the branch mainline in revision 6035.
  • Revision ID: mbp@canonical.com-20110704211037-ro3417imj3oqnqxp
Support exporting tarballs from ContentFilterTree

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