Fix linting

This commit is contained in:
Niels Laukens 2019-09-05 14:17:55 +02:00
parent 8f51bd6116
commit 7fae0d52ad
No known key found for this signature in database
GPG Key ID: D1397B5A6435A6D8
2 changed files with 7 additions and 7 deletions

View File

@ -26,12 +26,12 @@ class FakeEnvironment(BaseModel):
@property @property
def environment_arn(self): def environment_arn(self):
return 'arn:aws:elasticbeanstalk:{region}:{account_id}:' \ return 'arn:aws:elasticbeanstalk:{region}:{account_id}:' \
'environment/{application_name}/{environment_name}'.format( 'environment/{application_name}/{environment_name}'.format(
region=self.region, region=self.region,
account_id='123456789012', account_id='123456789012',
application_name=self.application_name, application_name=self.application_name,
environment_name=self.environment_name, environment_name=self.environment_name,
) )
@property @property
def platform_arn(self): def platform_arn(self):

View File

@ -1,6 +1,6 @@
from moto.core.responses import BaseResponse from moto.core.responses import BaseResponse
from moto.core.utils import tags_from_query_string from moto.core.utils import tags_from_query_string
from .models import eb_backends, EBBackend from .models import eb_backends
from .exceptions import InvalidParameterValueError, ResourceNotFoundException from .exceptions import InvalidParameterValueError, ResourceNotFoundException