alternator-test: enable tests for ADD operation

Tests for UpdateExpression::ADD are enabled.
This commit is contained in:
Piotr Sarna
2019-07-11 16:33:43 +02:00
committed by Nadav Har'El
parent f29c2f6895
commit 67c95cb303

View File

@@ -624,7 +624,6 @@ def test_update_expression_unknown_function(test_table_s):
UpdateExpression='SET a = _f(b,c,d)')
# Test "ADD" operation for numbers
@pytest.mark.xfail(reason="ADD not yet implemented")
def test_update_expression_add_numbers(test_table_s):
p = random_string()
test_table_s.put_item(Item={'p': p, 'a': 3, 'b': 'hi'})
@@ -648,7 +647,6 @@ def test_update_expression_add_numbers(test_table_s):
ExpressionAttributeValues={':val1': 1})
# Test "ADD" operation for sets
@pytest.mark.xfail(reason="ADD not yet implemented")
def test_update_expression_add_sets(test_table_s):
p = random_string()
test_table_s.put_item(Item={'p': p, 'a': set(['dog', 'cat', 'mouse']), 'b': 'hi'})