The testapp module is accessible via the paste.script module.
'\n<html>\n<head>\n <title>Test Application</title>\n</head>\n<body>\n<h1>Test Application: Working!</h1>\n\n<table border="1">\n%(environ)s\n</table>\n\n<p>\nNote: to see an error report, append <code>?error=true</code>\nto the URL\n</p>\n\n</body>\n</html>\n'
'\n<tr>\n <td><b>%(key)s</b></td>\n <td><tt>%(value_literal)s</b></td>\n</tr>\n'
A test WSGI application, that prints out all the environmental variables, and if you add ?error=t to the URL it will deliberately throw an exception.
A test WSGI application, that prints out all the environmental variables, and if you add ?error=t to the URL it will deliberately throw an exception.
This class contains 2 members.
See the source for more information.