'L{StdioClient._printProgressBar} prints a progress description that
indicates 0 bytes transferred if no bytes have been transferred and no
time has passed.'

def test_printProgressBarNoProgress(self):

    self.setKnownConsoleSize(10, 34)
    clock = self.client.reactor = Clock()
    wrapped = BytesIO('x')
    wrapped.name = 'sample'
    wrapper = cftp.FileWrapper(wrapped)
    startTime = clock.seconds()
    self.client._printProgressBar(wrapper, startTime)
    if _PY3:
        result = "\rb'sample'        0%    0.0B    0.0Bps    00:00    "
    else:
        result = '\rsample        0%    0.0B    0.0Bps    00:00    '
    self.assertEqual(self.client.transport.value(), result)
