thirdparty/google_appengine/lib/webob/tests/conftest.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 20 Oct 2008 23:24:21 +0000
changeset 399 b82852e6963e
parent 109 620f9b141567
permissions -rwxr-xr-x
Various improvements to the generic View code Among others: * Added the 'page' argument to the simple.errorResponse call * Pass the result of getEmptyKeyFields to edit() in create() * Fix typo's in error responses * Fixed a todo to properly redirect on create * Made editPost return something when the form is not valid * Added an _editGet hook Patch by: Sverre Rabbelier Reviewed by: to-be-reviewed

import os, sys
sys.path.insert(0, os.path.dirname(os.path.dirname(__file__)))
import pkg_resources
pkg_resources.require('WebOb')