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

Method test_scan_projection

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

Source from the content-addressed store, hash-verified

285 assert len(all_items) == 13
286
287 def test_scan_projection(self, dynamodb_client, scan_table):
288 resp = dynamodb_client.scan(
289 TableName=scan_table,
290 ProjectionExpression="pk",
291 Limit=1,
292 )
293 item = resp["Items"][0]
294 assert "pk" in item
295 assert "category" not in item
296
297 def test_scan_parallel(self, dynamodb_client, scan_table):
298 total_segments = 3

Callers

nothing calls this directly

Calls 1

scanMethod · 0.80

Tested by

no test coverage detected