[Checkins] SVN: gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/wsgi/testing.py Test App2 for the other wsgi test layer.
Jan-Jaap Driessen
jdriessen at thehealthagency.com
Fri Dec 10 08:13:28 EST 2010
Log message for revision 118789:
Test App2 for the other wsgi test layer.
Changed:
U gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/wsgi/testing.py
-=-
Modified: gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/wsgi/testing.py
===================================================================
--- gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/wsgi/testing.py 2010-12-10 13:12:48 UTC (rev 118788)
+++ gocept.selenium/branches/janjaapdriessen-wsgi/src/gocept/selenium/wsgi/testing.py 2010-12-10 13:13:28 UTC (rev 118789)
@@ -44,3 +44,9 @@
'''
start_response(statuscode, headers)
return body
+
+class SimpleApp2(object):
+
+ def __call__(self, environ, start_response):
+ start_response('200 OK', [('Content-Type', 'text/html')])
+ return '<html><head></head><body>simple</body></html>'
More information about the checkins
mailing list