Skip to content

Commit

Permalink
Differentiated test names.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Mar 30, 2012
1 parent e94c803 commit 5a7ef40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_middleware.py
Expand Up @@ -77,7 +77,7 @@ def mock_inject(*a, **kw):
finally: finally:
resources.inject_resources = real resources.inject_resources = real


def testControllerApp(self): def testControllerAppWithId(self):
""" """
controllerapp should dispatch to an object having id, and a controllerapp should dispatch to an object having id, and a
request method taking a webob request based on path_info of request method taking a webob request based on path_info of
Expand Down Expand Up @@ -109,7 +109,7 @@ def request(self, request):
res = ca(Request.blank("%s/404" % mw.config.controller_prefix)) res = ca(Request.blank("%s/404" % mw.config.controller_prefix))
self.assert_(res.status_int == 404, res.status_int) self.assert_(res.status_int == 404, res.status_int)


def testControllerApp(self): def testControllerAppWithoutId(self):
""" """
controllerapp should dispatch to an object having id, and a controllerapp should dispatch to an object having id, and a
request method taking a webob request based on path_info of request method taking a webob request based on path_info of
Expand Down

0 comments on commit 5a7ef40

Please sign in to comment.