Skip to content

Instantly share code, notes, and snippets.

@jayd3e
Created July 28, 2014 04:02
Show Gist options
  • Save jayd3e/f3e8e21ab74ce9cc5fa9 to your computer and use it in GitHub Desktop.
Save jayd3e/f3e8e21ab74ce9cc5fa9 to your computer and use it in GitHub Desktop.
def setUp(self):
self.request = Request.blank('/')
self.config = testing.setUp(request=self.request,
settings=settings)
self.request.registry = self.config.registry
# call the main test app configuration
self.main(self.config, settings)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment