Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions tests/external_botocore/test_boto3_iam.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@

MOTO_VERSION = get_package_version_tuple("moto")

# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern

AWS_ACCESS_KEY_ID = "AAAAAAAAAAAACCESSKEY"
AWS_SECRET_ACCESS_KEY = "AAAAAASECRETKEY" # nosec (This is fine for testing purposes)

Expand Down
6 changes: 0 additions & 6 deletions tests/external_botocore/test_boto3_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,6 @@

MOTO_VERSION = get_package_version_tuple("moto")

# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern

AWS_ACCESS_KEY_ID = "AAAAAAAAAAAACCESSKEY"
AWS_SECRET_ACCESS_KEY = "AAAAAASECRETKEY" # nosec
AWS_REGION_NAME = "us-west-2"
Expand Down
6 changes: 0 additions & 6 deletions tests/external_botocore/test_boto3_sns.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@

MOTO_VERSION = get_package_version_tuple("moto")

# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern

AWS_ACCESS_KEY_ID = "AAAAAAAAAAAACCESSKEY"
AWS_SECRET_ACCESS_KEY = "AAAAAASECRETKEY" # nosec (This is fine for testing purposes)
AWS_REGION_NAME = "us-east-1"
Expand Down
7 changes: 0 additions & 7 deletions tests/external_botocore/test_botocore_dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,6 @@

MOTO_VERSION = get_package_version_tuple("moto")

# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern


AWS_ACCESS_KEY_ID = "AAAAAAAAAAAACCESSKEY"
AWS_SECRET_ACCESS_KEY = "AAAAAASECRETKEY" # nosec (This is fine for testing purposes)
AWS_REGION = "us-east-1"
Expand Down
6 changes: 0 additions & 6 deletions tests/external_botocore/test_botocore_ec2.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,6 @@

MOTO_VERSION = get_package_version_tuple("moto")

# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern

AWS_ACCESS_KEY_ID = "AAAAAAAAAAAACCESSKEY"
AWS_SECRET_ACCESS_KEY = "AAAAAASECRETKEY" # nosec (This is fine for testing purposes)
AWS_REGION = "us-east-1"
Expand Down
7 changes: 0 additions & 7 deletions tests/external_botocore/test_botocore_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,6 @@
MOTO_VERSION = MOTO_VERSION = get_package_version_tuple("moto")
BOTOCORE_VERSION = get_package_version_tuple("botocore")


# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern

AWS_ACCESS_KEY_ID = "AAAAAAAAAAAACCESSKEY"
AWS_SECRET_ACCESS_KEY = "AAAAAASECRETKEY" # nosec
AWS_REGION = "us-east-1"
Expand Down
6 changes: 0 additions & 6 deletions tests/external_botocore/test_botocore_sqs.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,6 @@
MOTO_VERSION = get_package_version_tuple("moto")
BOTOCORE_VERSION = get_package_version_tuple("botocore")

# patch earlier versions of moto to support py37
if sys.version_info >= (3, 7) and MOTO_VERSION <= (1, 3, 1):
import re

moto.packages.responses.responses.re._pattern_type = re.Pattern

url = "sqs.us-east-1.amazonaws.com"

if BOTOCORE_VERSION < (1, 29, 0):
Expand Down