Skip to content

Instantly share code, notes, and snippets.

@mcdonc
Created April 10, 2011 06:26
Show Gist options
  • Save mcdonc/912098 to your computer and use it in GitHub Desktop.
Save mcdonc/912098 to your computer and use it in GitHub Desktop.
[chrism@thinko JayD3e]$ git diff
diff --git a/jayd3e/tests/test_handlers.py b/jayd3e/tests/test_handlers.py
index d540562..0ab58e2 100644
--- a/jayd3e/tests/test_handlers.py
+++ b/jayd3e/tests/test_handlers.py
@@ -5,10 +5,10 @@ from jayd3e.handlers.auth import AuthHandler
class TestHandlers(unittest.TestCase):
def setUp(self):
+ self.config = testing.setUp()
self.request = testing.DummyRequest()
- self.config = testing.setUp(request=self.request)
self.config.include('pyramid_handlers')
- self.config.add_handler('auth_action', '/auth/{action}', handler=AuthHa
+ self.config.add_handler('auth_action', '/auth/{action}', handler=AuthHa
def testAuthHandlerInit(self):
handler = AuthHandler(self.request)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment