cherrypy.test.test_config module

Tests for the CherryPy configuration system.

class cherrypy.test.test_config.CallablesInConfigTest(methodName='runTest')[source]

Bases: unittest.case.TestCase

static setup_server()
test_call_with_kwargs()[source]
test_call_with_literal_dict()[source]
class cherrypy.test.test_config.ConfigTests(methodName='runTest')[source]

Bases: cherrypy.test.helper.CPWebCase

static setup_server()
testConfig()[source]
testCustomNamespaces()[source]
testHandlerToolConfigOverride()[source]
testRespNamespaces()[source]
testUnrepr()[source]
test_request_body_namespace()[source]
cherrypy.test.test_config.StringIOFromNative(x)[source]
class cherrypy.test.test_config.VariableSubstitutionTests(methodName='runTest')[source]

Bases: unittest.case.TestCase

static setup_server()
test_config()[source]
cherrypy.test.test_config.setup_server()[source]