MCPcopy Create free account
hub / github.com/ExtendDB/extenddb / test_transact_write_empty_items

Function test_transact_write_empty_items

tests/test_transaction_operations.py:163–166  ·  view source on GitHub ↗

TransactWriteItems with empty TransactItems → client-side validation.

(dynamodb_client)

Source from the content-addressed store, hash-verified

161# TransactWriteItems — validation errors
162# ---------------------------------------------------------------------------
163def test_transact_write_empty_items(dynamodb_client):
164 """TransactWriteItems with empty TransactItems → client-side validation."""
165 with pytest.raises(Exception):
166 dynamodb_client.transact_write_items(TransactItems=[])
167def test_transact_write_too_many_items(dynamodb_client, hash_table):
168 """TransactWriteItems with > 100 items → ValidationException."""
169 items = [

Callers

nothing calls this directly

Calls 1

transact_write_itemsMethod · 0.80

Tested by

no test coverage detected