thirdparty/google_appengine/lib/webob/tests/conftest.py
author Todd Larsen <tlarsen@google.com>
Tue, 20 Jan 2009 20:04:21 +0000
changeset 844 b55c68d25b35
parent 109 620f9b141567
permissions -rwxr-xr-x
Make getToSLink() an actual method for re-use by others. Uses the views.helper.redirects module to create the /document/show path, instead of hard-coding it as a format string. Patch by: Todd Larsen Review 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')