@@ -324,14 +324,14 @@ def test_get_item(self):
324324 Key = {"id" : {"S" : "1" }},
325325 ConsistentRead = True ,
326326 AttributesToGet = ["id" ],
327- ProjectionExpression = "1,2 " ,
327+ ProjectionExpression = "PE " ,
328328 ReturnConsumedCapacity = "TOTAL" ,
329329 )
330330
331331 span = self .assert_span ("GetItem" )
332332 self .assert_table_names (span , self .default_table_name )
333333 self .assert_consistent_read (span , True )
334- self .assert_projection (span , "1,2 " )
334+ self .assert_projection (span , "PE " )
335335 self .assert_consumed_capacity (span , self .default_table_name )
336336
337337 @mock_dynamodb2
@@ -390,7 +390,7 @@ def test_query(self):
390390 }
391391 },
392392 ScanIndexForward = True ,
393- ProjectionExpression = "1,2 " ,
393+ ProjectionExpression = "PE " ,
394394 ReturnConsumedCapacity = "TOTAL" ,
395395 )
396396
@@ -403,7 +403,7 @@ def test_query(self):
403403 self .assert_consistent_read (span , True )
404404 self .assert_index_name (span , "lsi" )
405405 self .assert_limit (span , 42 )
406- self .assert_projection (span , "1,2 " )
406+ self .assert_projection (span , "PE " )
407407 self .assert_select (span , "ALL_ATTRIBUTES" )
408408 self .assert_consumed_capacity (span , self .default_table_name )
409409
@@ -419,7 +419,7 @@ def test_scan(self):
419419 Select = "ALL_ATTRIBUTES" ,
420420 TotalSegments = 17 ,
421421 Segment = 21 ,
422- ProjectionExpression = "1,2 " ,
422+ ProjectionExpression = "PE " ,
423423 ConsistentRead = True ,
424424 ReturnConsumedCapacity = "TOTAL" ,
425425 )
@@ -440,7 +440,7 @@ def test_scan(self):
440440 self .assert_consistent_read (span , True )
441441 self .assert_index_name (span , "lsi" )
442442 self .assert_limit (span , 42 )
443- self .assert_projection (span , "1,2 " )
443+ self .assert_projection (span , "PE " )
444444 self .assert_select (span , "ALL_ATTRIBUTES" )
445445 self .assert_consumed_capacity (span , self .default_table_name )
446446
0 commit comments