linting fixes

This commit is contained in:
Fabio Dias 2019-12-15 20:11:38 -05:00
parent bc615797b1
commit fb9ebe5a47
8 changed files with 24 additions and 22 deletions

View File

@ -42,11 +42,10 @@ from .utils import make_function_arn, make_function_ver_arn
from moto.sqs import sqs_backends
from moto.dynamodb2 import dynamodb_backends2
from moto.dynamodbstreams import dynamodbstreams_backends
from moto.iam.models import ACCOUNT_ID
logger = logging.getLogger(__name__)
from moto.iam.models import ACCOUNT_ID
try:
from tempfile import TemporaryDirectory

View File

@ -2,6 +2,7 @@ from __future__ import unicode_literals
from moto.core.responses import BaseResponse
from moto.iam.models import ACCOUNT_ID
class VPCPeeringConnections(BaseResponse):
def create_vpc_peering_connection(self):
peer_region = self._get_param("PeerRegion")

View File

@ -45,7 +45,7 @@ from .utils import (
random_policy_id,
)
ACCOUNT_ID = '123456789012' #make sure this is a str and not an int
ACCOUNT_ID = '123456789012'
class MFADevice(object):

View File

@ -2,8 +2,10 @@ from __future__ import unicode_literals
import random
import string
from moto.iam.models import ACCOUNT_ID
from moto.iam.models import ACCOUNT_ID as MASTER_ACCOUNT_ID
MASTER_ACCOUNT_ID = ACCOUNT_ID
MASTER_ACCOUNT_EMAIL = "master@example.com"
DEFAULT_POLICY_ID = "p-FullAWSAccess"
ORGANIZATION_ARN_FORMAT = "arn:aws:organizations::{0}:organization/{1}"