예제 #1
0
 def test_quota_class_not_found(self):
     # Verify response code for exception.QuotaClassNotFound
     class_name = "FakeQuotaClass"
     e = exception.QuotaClassNotFound(class_name=class_name)
     self.assertEqual(404, e.code)
예제 #2
0
 def test_quota_class_not_found(self):
     # Verify response code for exception.QuotaClassNotFound
     e = exception.QuotaClassNotFound()
     self.assertEqual(e.code, 404)