From a3be9dda7f314b95db49f0f204f5bcbda180e48d Mon Sep 17 00:00:00 2001 From: Piotr Sarna Date: Wed, 10 Jul 2019 12:42:00 +0200 Subject: [PATCH] alternator-test: enable if_not_exists-related tests Test cases that relied on the implementation of if_not_exists are enabled. --- alternator-test/test_update_expression.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/alternator-test/test_update_expression.py b/alternator-test/test_update_expression.py index 2a9a20ac58..5a1f4281ac 100644 --- a/alternator-test/test_update_expression.py +++ b/alternator-test/test_update_expression.py @@ -489,7 +489,6 @@ def test_update_expression_list_append(test_table_s): # Test the "if_not_exists" function in SET # The test also checks additional features of function-call parsing. -@pytest.mark.xfail(reason="if_not_exists function not yet implemented") def test_update_expression_if_not_exists(test_table_s): p = random_string() # Since attribute a doesn't exist, set it: @@ -588,7 +587,6 @@ def test_update_expression_function_nesting(test_table_s): # error on the "+"). This means that the parser has two separate rules: # 1. set_action: SET path = value + value # 2. value: VALREF | NAME | NAME (value, ...) -@pytest.mark.xfail(reason="SET functions not yet implemented") def test_update_expression_function_plus_nesting(test_table_s): p = random_string() # As explained above, this - with "+" outside the expression, works: