~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Robert Collins
  • Date: 2010-06-21 03:15:55 UTC
  • mto: This revision was merged to the branch mainline in revision 5310.
  • Revision ID: robertc@robertcollins.net-20100621031555-y1oi1twlxt2qqjue
Document bzrlib.initialize a little better, and explicitly propogate exceptions in the new __exit__ methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
 
386
386
    def test_test_ui_factory_progress(self):
387
387
        # there's no output; we just want to make sure this doesn't crash -
388
 
        # see https://bugs.edge.launchpad.net/bzr/+bug/408201
 
388
        # see https://bugs.launchpad.net/bzr/+bug/408201
389
389
        ui = tests.TestUIFactory()
390
390
        pb = ui.nested_progress_bar()
391
391
        pb.update('hello')