/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Martin Pool
  • Date: 2009-04-24 13:30:48 UTC
  • mto: This revision was merged to the branch mainline in revision 4303.
  • Revision ID: mbp@sourcefrog.net-20090424133048-os2wkskng4ma86bm
Fix string expansion in TextUIFactory.prompt

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