~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Robert J. Tanner
  • Date: 2009-04-29 05:53:21 UTC
  • mfrom: (4311 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4312.
  • Revision ID: tanner@real-time.com-20090429055321-v2s5l1mgki9f6cgn
[merge] 1.14 back to trunk

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