def test_write(self):
        transport = StringTransport()
        encoder = ChunkedEncoder(transport)
        encoder.write('foo')
        self.assertEqual(transport.value(), '3\r\nfoo\r\n')
        transport.clear()
        encoder.write('x' * 16)
        self.assertEqual(transport.value(), '10\r\n' + 'x' * 16 + '\r\n')
The camelcase name of the color
dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/web/test/test_newclient.py/RequestBodyConsumerTests.test_write--crossover with--dataset/ETHPy150Open tomerfiliba/plumbum/plumbum/colorlib/styles.py/Color.name_camelcase