From cd96de4903cec7ba95a66301ef75fc4eee8878b7 Mon Sep 17 00:00:00 2001 From: captainkerk Date: Fri, 29 Dec 2017 03:32:25 +0000 Subject: [PATCH] ResourceContentionError is indeed a 500 --- moto/autoscaling/exceptions.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/moto/autoscaling/exceptions.py b/moto/autoscaling/exceptions.py index 05af25980..7dd81e0d6 100644 --- a/moto/autoscaling/exceptions.py +++ b/moto/autoscaling/exceptions.py @@ -6,7 +6,8 @@ class AutoscalingClientError(RESTError): code = 400 -class ResourceContentionError(AutoscalingClientError): +class ResourceContentionError(RESTError): + code = 500 def __init__(self): super(ResourceContentionError, self).__init__(