Add region to test case
This commit is contained in:
parent
6ba00d9ad1
commit
315ac32f09
1 changed files with 1 additions and 1 deletions
|
|
@ -1346,7 +1346,7 @@ def test_get_item_returns_consumed_capacity():
|
||||||
|
|
||||||
@mock_dynamodb2
|
@mock_dynamodb2
|
||||||
def test_put_item_nonexisting_hash_key():
|
def test_put_item_nonexisting_hash_key():
|
||||||
dynamodb = boto3.resource("dynamodb")
|
dynamodb = boto3.resource("dynamodb", region_name="us-east-1")
|
||||||
dynamodb.create_table(
|
dynamodb.create_table(
|
||||||
AttributeDefinitions=[{"AttributeName": "structure_id", "AttributeType": "S"},],
|
AttributeDefinitions=[{"AttributeName": "structure_id", "AttributeType": "S"},],
|
||||||
TableName="test",
|
TableName="test",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue