~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-05-16 14:02:27 UTC
  • mto: (5923.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 5925.
  • Revision ID: jelmer@samba.org-20110516140227-zmqbs24f6ezfwc4b
Fix more.

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