Lines Matching defs:progress
41 import pkg.client.progress as progress
48 pi = progress.TrackerItem("testitem")
55 pi = progress.TrackerItem("testitem")
61 pi = progress.TrackerItem("testitem")
78 pi = progress.GoalTrackerItem("testitem")
88 pi = progress.GoalTrackerItem("testitem")
103 pi = progress.GoalTrackerItem("testitem")
116 pi = progress.GoalTrackerItem("testitem")
129 pi = progress.GoalTrackerItem("testitem")
144 pi = progress.GoalTrackerItem("testitem")
156 pi = progress.GoalTrackerItem("testitem")
168 interval = progress.SpeedEstimator(0).INTERVAL
178 sp = progress.SpeedEstimator(goalbytes)
224 sp = progress.SpeedEstimator(goalbytes)
243 sp = progress.SpeedEstimator(goalbytes)
291 result = progress.format_pair(formatstr, item,
306 tc = progress.CommandLineProgressTracker(output_file=sio_c)
307 tc2 = progress.CommandLineProgressTracker(output_file=sio_c2,
309 tf = progress.FunctionProgressTracker(output_file=sio_f)
310 td = progress.DotProgressTracker(output_file=sio_d)
311 tq = progress.QuietProgressTracker()
313 mt = progress.MultiProgressTracker([tc, tc2, tf, tq, td])
318 progress.test_progress_tracker(mt, gofast=True)
360 progress.test_progress_tracker(p, gofast=True)
368 self.__t_pty_tracker(progress.FancyUNIXProgressTracker)
373 self.assertRaises(progress.ProgressTrackerException,
374 progress.FancyUNIXProgressTracker, f)
378 self.assertRaises(progress.ProgressTrackerException,
379 progress.FancyUNIXProgressTracker, f)
384 self.__t_pty_tracker(progress.FancyUNIXProgressTracker,
397 # output of the two Function progress trackers can thus
400 t1 = progress.FunctionProgressTracker(output_file=sio1)
401 t2 = progress.FunctionProgressTracker(output_file=sio2)
402 mt = progress.MultiProgressTracker([t1, t2])
403 progress.test_progress_tracker(mt, gofast=True)
411 self.assertRaises(progress.ProgressTrackerException,
412 progress.MultiProgressTracker, [])