def __init__(self, methodName='runTest'): self.env = env super(BaseTestCase, self).__init__(methodName) create_webapp(self.env)
from splice.webapp import create_webapp application = create_webapp()