def test_progressBar_stderr(): ''' Progress bar utility test ''' pbar = makeProgressBar('stderr', 100) assert pbar is not None assert pbar.fd == sys.stderr pbar.finish()
def test_progressBar_none(): ''' Progress bar utility test ''' pbar = makeProgressBar('none', 100) assert pbar is None