Пример #1
0
 def testInvalidRoute(self):
     """
 Invoke non supported route
 resoponse is validated for appropriate headers and body
 """
     response = self.app.get("/foo", status="*", headers=self.headers)
     assertions.assertRouteNotFound(self, response)
Пример #2
0
 def testInvalidRoute(self):
   """
   Invoke non supported route
   resoponse is validated for appropriate headers and body
   """
   response = self.app.get("/foo", status="*", headers=self.headers)
   assertions.assertRouteNotFound(self, response)