Support update_item with map and numeric types.
This commit is contained in:
parent
fef748b1c1
commit
f1099dd006
2 changed files with 14 additions and 1 deletions
|
|
@ -807,6 +807,14 @@ def test_update_item_range_key_set():
|
|||
'Action': u'PUT',
|
||||
'Value': 'johndoe2'
|
||||
},
|
||||
'created': {
|
||||
'Action': u'PUT',
|
||||
'Value': Decimal('4'),
|
||||
},
|
||||
'mapfield': {
|
||||
'Action': u'PUT',
|
||||
'Value': {'key': 'value'},
|
||||
}
|
||||
},
|
||||
)
|
||||
|
||||
|
|
@ -815,7 +823,8 @@ def test_update_item_range_key_set():
|
|||
'username': "johndoe2",
|
||||
'forum_name': 'the-key',
|
||||
'subject': '123',
|
||||
'created': Decimal('3'),
|
||||
'created': Decimal('4'),
|
||||
'mapfield': {'key': 'value'},
|
||||
})
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue