cherrypy.test.test_states module¶
- class cherrypy.test.test_states.PluginTests(methodName='runTest')[source]¶
Bases:
CPWebCase
- _classSetupFailed = False¶
- _class_cleanups = []¶
- class cherrypy.test.test_states.ServerStateTests(methodName='runTest')[source]¶
Bases:
CPWebCase
- _classSetupFailed = False¶
- _class_cleanups = []¶
- static setup_server()¶
- class cherrypy.test.test_states.SignalHandlingTests(methodName='runTest')[source]¶
Bases:
CPWebCase
- _classSetupFailed = False¶
- _class_cleanups = []¶
- cherrypy.test.test_states.test_safe_wait_INADDR_ANY()[source]¶
Wait on INADDR_ANY should not raise IOError.
In cases where the loopback interface does not exist, CherryPy cannot effectively determine if a port binding to INADDR_ANY was effected. In this situation, CherryPy should assume that it failed to detect the binding (not that the binding failed) and only warn that it could not verify it.