~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_ui.py

  • Committer: Aaron Bentley
  • Date: 2006-06-21 02:33:40 UTC
  • mto: This revision was merged to the branch mainline in revision 1800.
  • Revision ID: aaron.bentley@utoronto.ca-20060621023340-19364e0e14d66548
Hide TTYProgressBars unless they last more than 1 second

Show diffs side-by-side

added added

removed removed

Lines of Context:
157
157
        factory.stdin = StringIO("yada\ny\n")
158
158
        pb = self.apply_redirected(
159
159
            factory.stdin, factory.stdout, factory.stdout, factory.nested_progress_bar)
 
160
        pb.start_time = None
160
161
        self.apply_redirected(
161
162
            factory.stdin, factory.stdout, factory.stdout, pb.update, "foo", 0, 1)
162
163
        self.assertEqual(