=================================== FAILURES ===================================
_______________ TestCreateTable.test_create_table_name_too_short _______________
self = <test_table_operations.TestCreateTable object at 0xffff808023c0>
dynamodb_client = <botocore.client.DynamoDB object at 0xffff807f6690>
def test_create_table_name_too_short(self, dynamodb_client):
# botocore validates table name min length (3) client-side, raising
# ParamValidationError before the request reaches the server.
from botocore.exceptions import ParamValidationError
with pytest.raises(ParamValidationError):
> dynamodb_client.create_table(
TableName="ab",
AttributeDefinitions=[{"AttributeName": "pk", "AttributeType": "S"}],
KeySchema=[{"AttributeName": "pk", "KeyType": "HASH"}],
BillingMode="PAY_PER_REQUEST",
)
Describe the bug
devtools/run-tests --extenddb --pytesthas one failure in v0.1.0