human
Here's a good function header given the following:
I wrote the below code

    @wraps(testMethod)
    def actualTestMethod(builder):
        other = ConnectableProtocol()
        class ServerProtocol(ConnectableProtocol, ):
            def connectionMade(self):
                try:
                    testMethod(builder, self.reactor, self.transport)
                finally:
                    if (self.transport is not None):
                        self.transport.loseConnection()
                    if (other.transport is not None):
                        other.transport.loseConnection()
        serverProtocol = ServerProtocol()
        runProtocolsWithReactor(builder, serverProtocol, other, TCPCreator())
    return actualTestMethod

What's a good function header?
assistant
#Here's a good function header.

def oneTransportTest(testMethod):