Ejemplo n.º 1
0
 def testDeleteNonExistentModelUID(self):
   """
     Test for the delete call with non-existent Model uid.
   """
   response = self.app.delete("/f00bar", status="*", headers=self.headers)
   assertions.assertObjectNotFoundError(self, response)
Ejemplo n.º 2
0
 def testExportNonExistentModelUID(self):
   """
     Test for export of non existent model"
   """
   response = self.app.get("/f00bar/export", status="*", headers=self.headers)
   assertions.assertObjectNotFoundError(self, response)