OPSI.web2.test.test_fastcgi module¶
-
class
OPSI.web2.test.test_fastcgi.FCGI(methodName='runTest')¶ Bases:
twisted.trial._asynctest.TestCase-
testPacketBadType()¶ Test that an invalid packet type will raise FastCGIError
-
testPacketReceived()¶ Test that a packet can be received, and that it will cause ‘writePacket’ to be called.
-
testPacketWrongVersion()¶ Test that a version other than version 1 will raise FastCGIError
-
testParseLongName()¶ Test the code paths for parsing a name or value with >= 128 bytes. The length prefixing is done differently in this case.
-
testParseLongValue()¶ Test parsing a long value.
-