Add region to test case

This commit is contained in:
Bert Blommers 2020-03-10 14:28:12 +00:00 committed by GitHub
parent 6ba00d9ad1
commit 315ac32f09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1346,7 +1346,7 @@ def test_get_item_returns_consumed_capacity():
@mock_dynamodb2
def test_put_item_nonexisting_hash_key():
dynamodb = boto3.resource("dynamodb")
dynamodb = boto3.resource("dynamodb", region_name="us-east-1")
dynamodb.create_table(
AttributeDefinitions=[{"AttributeName": "structure_id", "AttributeType": "S"},],
TableName="test",