def test_noUnicode(self):
        s = proto_helpers.StringTransport()
        self.assertRaises(TypeError, s.write, u'foo')
Extract the response data stored on a request and create a real response
dataset/ETHPy150Open nlloyd/SubliminalCollaborator/libs/twisted/test/test_protocols.py/StringTransportTestCase.test_noUnicode--crossover with--dataset/ETHPy150Open ClusterHQ/flocker/flocker/restapi/testtools.py/asResponse