~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_uifactory/__init__.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-05-27 10:48:00 UTC
  • mfrom: (5923.1.3 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20110527104800-fvcjlygvqloos6kl
(vila) Require prompts to always be unicode (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
        # confirm_action should be answered by every ui factory; even
67
67
        # noninteractive ones should have a reasonable default
68
68
        self._load_responses([True])
69
 
        result = self.factory.confirm_action(
70
 
            'Break a lock?',
71
 
            'bzr.lock.break.confirm',
 
69
        result = self.factory.confirm_action(u'Break a lock?',
 
70
             'bzr.lock.break.confirm',
72
71
            {})
73
72
        # will be true either because we read it from the input or because
74
73
        # that's the default