'Retrieve all data which has been buffered by this transport.
This is not a transport method.  It is intended for tests.  Do not use
it in implementation code.
@return: A C{bytes} giving all data written to this transport since the
last call to L{clear}.
@rtype: C{bytes}'

def value(self):

    return self.io.getvalue()
