@@ -450,7 +450,7 @@ def test_dynamo_attribute_value_b_value():
450
450
attribute_value = AttributeValue (example_attribute_value )
451
451
452
452
assert attribute_value .get_type == AttributeValueType .Binary
453
- assert attribute_value .b_value == attribute_value .value
453
+ assert attribute_value .b_value == attribute_value .get_value
454
454
455
455
456
456
def test_dynamo_attribute_value_bs_value ():
@@ -459,7 +459,7 @@ def test_dynamo_attribute_value_bs_value():
459
459
attribute_value = AttributeValue (example_attribute_value )
460
460
461
461
assert attribute_value .get_type == AttributeValueType .BinarySet
462
- assert attribute_value .bs_value == attribute_value .value
462
+ assert attribute_value .bs_value == attribute_value .get_value
463
463
464
464
465
465
def test_dynamo_attribute_value_bool_value ():
@@ -468,7 +468,7 @@ def test_dynamo_attribute_value_bool_value():
468
468
attribute_value = AttributeValue (example_attribute_value )
469
469
470
470
assert attribute_value .get_type == AttributeValueType .Boolean
471
- assert attribute_value .bool_value == attribute_value .value
471
+ assert attribute_value .bool_value == attribute_value .get_value
472
472
473
473
474
474
def test_dynamo_attribute_value_list_value ():
@@ -480,7 +480,7 @@ def test_dynamo_attribute_value_list_value():
480
480
assert item .s_value == "Cookies"
481
481
assert attribute_value .get_type == AttributeValueType .List
482
482
assert attribute_value .l_value == attribute_value .list_value
483
- assert attribute_value .list_value == attribute_value .value
483
+ assert attribute_value .list_value == attribute_value .get_value
484
484
485
485
486
486
def test_dynamo_attribute_value_map_value ():
@@ -494,7 +494,7 @@ def test_dynamo_attribute_value_map_value():
494
494
assert item .s_value == "Joe"
495
495
assert attribute_value .get_type == AttributeValueType .Map
496
496
assert attribute_value .m_value == attribute_value .map_value
497
- assert attribute_value .map_value == attribute_value .value
497
+ assert attribute_value .map_value == attribute_value .get_value
498
498
499
499
500
500
def test_dynamo_attribute_value_n_value ():
@@ -503,7 +503,7 @@ def test_dynamo_attribute_value_n_value():
503
503
attribute_value = AttributeValue (example_attribute_value )
504
504
505
505
assert attribute_value .get_type == AttributeValueType .Number
506
- assert attribute_value .n_value == attribute_value .value
506
+ assert attribute_value .n_value == attribute_value .get_value
507
507
508
508
509
509
def test_dynamo_attribute_value_ns_value ():
@@ -512,7 +512,7 @@ def test_dynamo_attribute_value_ns_value():
512
512
attribute_value = AttributeValue (example_attribute_value )
513
513
514
514
assert attribute_value .get_type == AttributeValueType .NumberSet
515
- assert attribute_value .ns_value == attribute_value .value
515
+ assert attribute_value .ns_value == attribute_value .get_value
516
516
517
517
518
518
def test_dynamo_attribute_value_null_value ():
@@ -521,7 +521,7 @@ def test_dynamo_attribute_value_null_value():
521
521
attribute_value = AttributeValue (example_attribute_value )
522
522
523
523
assert attribute_value .get_type == AttributeValueType .Null
524
- assert attribute_value .null_value == attribute_value .value
524
+ assert attribute_value .null_value == attribute_value .get_value
525
525
526
526
527
527
def test_dynamo_attribute_value_s_value ():
@@ -530,7 +530,7 @@ def test_dynamo_attribute_value_s_value():
530
530
attribute_value = AttributeValue (example_attribute_value )
531
531
532
532
assert attribute_value .get_type == AttributeValueType .String
533
- assert attribute_value .s_value == attribute_value .value
533
+ assert attribute_value .s_value == attribute_value .get_value
534
534
535
535
536
536
def test_dynamo_attribute_value_ss_value ():
@@ -539,7 +539,7 @@ def test_dynamo_attribute_value_ss_value():
539
539
attribute_value = AttributeValue (example_attribute_value )
540
540
541
541
assert attribute_value .get_type == AttributeValueType .StringSet
542
- assert attribute_value .ss_value == attribute_value .value
542
+ assert attribute_value .ss_value == attribute_value .get_value
543
543
544
544
545
545
def test_dynamo_attribute_value_type_error ():
@@ -548,7 +548,7 @@ def test_dynamo_attribute_value_type_error():
548
548
attribute_value = AttributeValue (example_attribute_value )
549
549
550
550
with pytest .raises (TypeError ):
551
- print (attribute_value .value )
551
+ print (attribute_value .get_value )
552
552
with pytest .raises (ValueError ):
553
553
print (attribute_value .get_type )
554
554
0 commit comments