~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-15 14:13:21 UTC
  • mfrom: (5609.50.5 786980-url-aliases)
  • Revision ID: pqm@pqm.ubuntu.com-20110715141321-v1p6z768o2iqv9by
(vila) Add more tests for bound_location variations in config files.
 (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')