~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-04-24 18:17:16 UTC
  • mfrom: (4300.3.2 trivial)
  • Revision ID: pqm@pqm.ubuntu.com-20090424181716-vimzfz6s1k4clq42
(mbp) fix problem with prompting in break-lock

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
        factory = TextUIFactory(None, None, None)
222
222
        self.assert_get_bool_acceptance_of_user_input(factory)
223
223
 
 
224
    def test_text_factory_prompt(self):
 
225
        # see <https://launchpad.net/bugs/365891>
 
226
        factory = TextUIFactory(None, StringIO(), StringIO())
 
227
        factory.prompt('foo %2e')
 
228
 
224
229
    def test_text_factory_prompts_and_clears(self):
225
230
        # a get_boolean call should clear the pb before prompting
226
231
        out = _TTYStringIO()