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

Method test_scan_segment_without_total

tests/test_query_scan.py:309–312  ·  view source on GitHub ↗
(self, dynamodb_client, scan_table)

Source from the content-addressed store, hash-verified

307 assert len(all_items) == 13
308
309 def test_scan_segment_without_total(self, dynamodb_client, scan_table):
310 with pytest.raises(ClientError) as exc_info:
311 dynamodb_client.scan(TableName=scan_table, Segment=0)
312 assert exc_info.value.response["Error"]["Code"] == "ValidationException"
313
314 def test_scan_total_without_segment(self, dynamodb_client, scan_table):
315 with pytest.raises(ClientError) as exc_info:

Callers

nothing calls this directly

Calls 1

scanMethod · 0.80

Tested by

no test coverage detected