moto/tests/test_dynamodb2
pvbouwel ec731ac901 Improve DDB expressions support4: Execution using AST
Part of structured approach for UpdateExpressions:
 1) Expression gets parsed into a tokenlist (tokenized)
 2) Tokenlist get transformed to expression tree (AST)
 3) The AST gets validated (full semantic correctness)
 4) AST gets processed to perform the update -> this commit

This commit uses the AST to execute the UpdateExpression.
All the existing tests pass. The only tests that have been
updated are in test_dynamodb_table_with_range_key.py because
they wrongly allow adding a set to a path that doesn't exist.
This has been alligend to correspond to the behavior of AWS
DynamoDB.

This commit will resolve https://github.com/spulec/moto/issues/2806
Multiple tests have been implemented that verify this.
2020-04-26 15:59:12 +01:00
..
test_dynamodb_executor.py Improve DDB expressions support4: Execution using AST 2020-04-26 15:59:12 +01:00
test_dynamodb_expression_tokenizer.py Better DDB expressions support1: TokenizationDDB 2020-04-18 09:16:23 +01:00
test_dynamodb_expressions.py Improve DDB expressions support3: AST Validation 2020-04-19 16:58:07 +01:00
test_dynamodb_table_with_range_key.py Improve DDB expressions support4: Execution using AST 2020-04-26 15:59:12 +01:00
test_dynamodb_table_without_range_key.py Enable AST Validation 2020-04-19 16:58:46 +01:00
test_dynamodb_validation.py Improve DDB expressions support3: AST Validation 2020-04-19 16:58:07 +01:00
test_dynamodb.py Improve DDB expressions support4: Execution using AST 2020-04-26 15:59:12 +01:00
test_server.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00