~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-08-04 00:55:07 UTC
  • mfrom: (4580.2.4 408201-testuifactory)
  • Revision ID: pqm@pqm.ubuntu.com-20090804005507-h1qergam3ijkmvci
(mbp) Cleanup TestUIFactory; prevent pb.tick() failures

Show diffs side-by-side

added added

removed removed

Lines of Context:
334
334
            None, stdout, stdout, factory.get_boolean, "foo")
335
335
 
336
336
 
 
337
class TestUIFactoryTests(TestCase):
 
338
 
 
339
    def test_test_ui_factory_progress(self):
 
340
        # there's no output; we just want to make sure this doesn't crash -
 
341
        # see https://bugs.edge.launchpad.net/bzr/+bug/408201
 
342
        ui = TestUIFactory()
 
343
        pb = ui.nested_progress_bar()
 
344
        pb.update('hello')
 
345
        pb.tick()
 
346
        pb.finished()
 
347
 
 
348
 
337
349
class CannedInputUIFactoryTests(TestCase):
338
350
    
339
351
    def test_canned_input_get_input(self):