Specify region in tests
This commit is contained in:
parent
9ce1ee49d7
commit
8c920cce10
1 changed files with 1 additions and 1 deletions
|
|
@ -1724,7 +1724,7 @@ def test_scan_filter_should_not_return_non_existing_attributes():
|
||||||
table_name = "my-table"
|
table_name = "my-table"
|
||||||
item = {"partitionKey": "pk-2", "my-attr": 42}
|
item = {"partitionKey": "pk-2", "my-attr": 42}
|
||||||
# Create table
|
# Create table
|
||||||
res = boto3.resource("dynamodb")
|
res = boto3.resource("dynamodb", region_name="us-east-1")
|
||||||
res.create_table(
|
res.create_table(
|
||||||
TableName=table_name,
|
TableName=table_name,
|
||||||
KeySchema=[{"AttributeName": "partitionKey", "KeyType": "HASH"}],
|
KeySchema=[{"AttributeName": "partitionKey", "KeyType": "HASH"}],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue