moto/tests
pvbouwel 9ed613e197 Better DDB expressions support2: ExpressionTree
Part of structured approach for UpdateExpressions:
 1) Expression gets parsed into a tokenlist (tokenized)
 2) Tokenlist get transformed to expression tree (AST) -> This commit
 3) The AST gets validated (full semantic correctness)
 4) AST gets processed to perform the update

This commit uses the tokenlist to build an expression tree. This tree is not
yet used. Still it allows to raise additional Validation Exceptions which
previously were missed silently therefore it allows tests to catch these type of
ValidationException. For that reason DDB UpdateExpressions will be parsed
already. It also makes sure we won't break existing tests.

One of the existing tests had to be changed in order to still pass:
 - test_dynamodb_table_with_range_key.test_update_item_with_expression

This test passed in a numeric literal which is not supported by DynamoDB
and with the current tokenization it would get the same error as in AWS
DynamoDB.
2020-04-18 09:19:03 +01:00
..
test_acm
test_apigateway Linting 2020-04-14 08:06:00 +01:00
test_athena
test_autoscaling Implement enter_standby, exit_standby and terminate_instance_in_auto_scaling_group 2020-04-13 10:54:13 +10:00
test_awslambda DDB Streams - Bugfix where processed items are resend every time 2020-02-24 09:28:52 +00:00
test_batch Linting 2020-03-12 14:07:34 +00:00
test_cloudformation
test_cloudwatch
test_codecommit
test_codepipeline Add codepipeline.untag_resource 2019-12-23 19:50:16 +01:00
test_cognitoidentity
test_cognitoidp
test_config
test_core
test_datapipeline Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
test_datasync DataSync: Task metadata and update_task 2019-11-06 19:26:59 +02:00
test_dynamodb Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
test_dynamodb2
test_dynamodbstreams make black happy 2020-04-06 19:55:54 +10:00
test_ec2 Merge pull request #2880 from bblommers/bugfix/2877 2020-04-16 15:02:45 -07:00
test_ec2_instance_connect
test_ecr
test_ecs
test_elb
test_elbv2 Fix more typos. 2020-01-23 10:15:02 -08:00
test_emr
test_events refactor put_rule test 2020-04-01 22:14:51 -03:00
test_glacier Merge remote-tracking branch 'upstream/master' 2020-01-23 15:37:40 +01:00
test_glue Merge remote-tracking branch 'upstream/master' 2020-01-24 10:38:19 +01:00
test_iam
test_iot fix linting errors 2019-12-23 09:01:53 +01:00
test_iotdata
test_kinesis
test_kms re-add coverage and remove unused import 2020-02-21 15:39:23 -05:00
test_logs
test_opsworks Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
test_organizations
test_packages Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_polly
test_rds
test_rds2
test_redshift
test_resourcegroups
test_resourcegroupstaggingapi
test_route53
test_s3
test_s3bucket_path
test_secretsmanager
test_ses
test_sns Fix missing MessageAttributes when using RawMessageDelivery 2020-03-21 19:25:25 +01:00
test_sqs
test_ssm
test_stepfunctions
test_sts ACCOUNT_ID moved to moto.core, MOTO_ACCOUNT_ID env var override 2019-12-16 21:05:29 -05:00
test_swf
test_utilities
test_xray Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
__init__.py
backport_assert_raises.py
helpers.py