'The C{factory} attribute is taken from the inner channel.'

def test_factory(self):

    a = http._genericHTTPChannelProtocolFactory('')
    a._channel.factory = 'Foo'
    self.assertEqual(a.factory, 'Foo')
