'When L{iterbytes} is called with a bytestring, the returned object
can be iterated over, resulting in the individual bytes of the
bytestring.'

def test_iteration(self):

    input = 'abcd'
    result = list(iterbytes(input))
    self.assertEqual(result, ['a', 'b', 'c', 'd'])
