cherrypy.test.test_states module¶
-
class
cherrypy.test.test_states.
ServerStateTests
(methodName='runTest')[source]¶ Bases:
cherrypy.test.helper.CPWebCase
-
static
setup_server
()¶
-
static
-
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.