def testExportNonExistentModelUID(self): """ Test for export of non existent model" """ response = self.app.get("/f00bar/export", status="*", headers=self.headers) assertions.assertObjectNotFoundError(self, response)
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)