thirdparty/google_appengine/lib/webob/tests/conftest.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 13 Apr 2009 21:46:33 +0000
changeset 2181 3ebe6cb63aa0
parent 109 620f9b141567
permissions -rwxr-xr-x
Place the getSingleton call in view decorator in the try This way timeouts on the getSingleton() call are also catched. Patch by: Sverre Rabbelier

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