~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-05-01 22:03:39 UTC
  • mfrom: (4287.1.11 1.15-lru-gc)
  • Revision ID: pqm@pqm.ubuntu.com-20090501220339-msx1b0ouap06xsp9
(jam) Change the _LRUNode implementation to avoid cyclic refs.

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