Esempio n. 1
0
 def test_project_quota_not_found(self):
     # Verify response code for exception.ProjectQuotaNotFound
     project_id = "fake_tenant_id"
     e = exception.ProjectQuotaNotFound(project_id=project_id)
     self.assertEqual(404, e.code)
Esempio n. 2
0
 def test_project_quota_not_found(self):
     # Verify response code for exception.ProjectQuotaNotFound
     e = exception.ProjectQuotaNotFound()
     self.assertEqual(e.code, 404)