Package cherrypy :: Package test :: Module test_wsgiapps :: Class WSGIAppTest
[hide private]
[frames] | no frames]

Class WSGIAppTest

source code

       object --+            
                |            
unittest.TestCase --+        
                    |        
      webtest.WebCase --+    
                        |    
         helper.CPWebCase --+
                            |
                           WSGIAppTest

Nested Classes [hide private]

Inherited from webtest.WebCase: HTTP_CONN

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
test_01_standard_app(self) source code
 
test_02_wrapped_wsgi(self) source code
 
test_03_static_subdir(self) source code
 
test_04_pure_wsgi(self) source code
 
test_05_wrapped_cp_app(self) source code
 
test_06_empty_string_app(self) source code

Inherited from helper.CPWebCase: assertErrorPage, base, exit, getPage, prefix, tearDown

Inherited from webtest.WebCase: __call__, assertBody, assertHeader, assertInBody, assertMatchesBody, assertNoHeader, assertNotInBody, assertStatus, set_persistent

Inherited from unittest.TestCase: __eq__, __hash__, __init__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Class Variables [hide private]
  wsgi_output = 'Hello, world!\nThis is a wsgi app running withi...

Inherited from helper.CPWebCase: scheme, script_name

Inherited from webtest.WebCase: HOST, PORT, PROTOCOL, console_height, interactive

Properties [hide private]

Inherited from webtest.WebCase: persistent

Inherited from object: __class__

Class Variable Details [hide private]

wsgi_output

Value:
'''Hello, world!
This is a wsgi app running within CherryPy!'''