Run black on moto & test directories.

This commit is contained in:
Asher Foa 2019-10-31 08:44:26 -07:00
commit 96e5b1993d
507 changed files with 52541 additions and 47814 deletions

View file

@ -6,32 +6,28 @@ class NotFoundException(JsonRESTError):
code = 400
def __init__(self, message):
super(NotFoundException, self).__init__(
"NotFoundException", message)
super(NotFoundException, self).__init__("NotFoundException", message)
class ValidationException(JsonRESTError):
code = 400
def __init__(self, message):
super(ValidationException, self).__init__(
"ValidationException", message)
super(ValidationException, self).__init__("ValidationException", message)
class AlreadyExistsException(JsonRESTError):
code = 400
def __init__(self, message):
super(AlreadyExistsException, self).__init__(
"AlreadyExistsException", message)
super(AlreadyExistsException, self).__init__("AlreadyExistsException", message)
class NotAuthorizedException(JsonRESTError):
code = 400
def __init__(self):
super(NotAuthorizedException, self).__init__(
"NotAuthorizedException", None)
super(NotAuthorizedException, self).__init__("NotAuthorizedException", None)
self.description = '{"__type":"NotAuthorizedException"}'
@ -40,8 +36,7 @@ class AccessDeniedException(JsonRESTError):
code = 400
def __init__(self, message):
super(AccessDeniedException, self).__init__(
"AccessDeniedException", message)
super(AccessDeniedException, self).__init__("AccessDeniedException", message)
self.description = '{"__type":"AccessDeniedException"}'
@ -51,6 +46,7 @@ class InvalidCiphertextException(JsonRESTError):
def __init__(self):
super(InvalidCiphertextException, self).__init__(
"InvalidCiphertextException", None)
"InvalidCiphertextException", None
)
self.description = '{"__type":"InvalidCiphertextException"}'