Admin: Fix DynamoDB AWS tests

This commit is contained in:
Bert Blommers 2023-10-10 19:05:59 +00:00 committed by GitHub
parent 8ea041029a
commit a23cef9985
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,7 @@ def dynamodb_aws_verified(func):
@wraps(func)
def pagination_wrapper():
client = boto3.client("dynamodb", region_name="us-east-1")
table_name = str(uuid4())[0:6]
table_name = "t" + str(uuid4())[0:6]
allow_aws_request = (
os.environ.get("MOTO_TEST_ALLOW_AWS_REQUEST", "false").lower() == "true"