moto/tests
Waldemar Hummer f4f8527955
Merge LocalStack changes into upstream moto (#4082)
* fix OPTIONS requests on non-existing API GW integrations

* add cloudformation models for API Gateway deployments

* bump version

* add backdoor to return CloudWatch metrics

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* bump version

* minor fixes

* fix Number data_type for SQS message attribute

* fix handling of encoding errors

* bump version

* make CF stack queryable before starting to initialize its resources

* bump version

* fix integration_method for API GW method integrations

* fix undefined status in CF FakeStack

* Fix apigateway issues with terraform v0.12.21
* resource_methods -> add handle for "DELETE" method
* integrations -> fix issue that "httpMethod" wasn't included in body request (this value was set as the value from refer method resource)

* bump version

* Fix setting http method for API gateway integrations (#6)

* bump version

* remove duplicate methods

* add storage class to S3 Key when completing multipart upload (#7)

* fix SQS performance issues; bump version

* add pagination to SecretsManager list-secrets (#9)

* fix default parameter groups in RDS

* fix adding S3 metadata headers with names containing dots (#13)

* Updating implementation coverage

* Updating implementation coverage

* add cloudformation models for API Gateway deployments

* Updating implementation coverage

* Updating implementation coverage

* Implemented get-caller-identity returning real data depending on the access key used.

* make CF stack queryable before starting to initialize its resources

* bump version

* remove duplicate methods

* fix adding S3 metadata headers with names containing dots (#13)

* Update amis.json to support EKS AMI mocks (#15)

* fix PascalCase for boolean value in ListMultipartUploads response (#17); fix _get_multi_param to parse nested list/dict query params

* determine non-zero container exit code in Batch API

* support filtering by dimensions in CW get_metric_statistics

* fix storing attributes for ELBv2 Route entities; API GW refactorings for TF tests

* add missing fields for API GW resources

* fix error messages for Route53 (TF-compat)

* various fixes for IAM resources (tf-compat)

* minor fixes for API GW models (tf-compat)

* minor fixes for API GW responses (tf-compat)

* add s3 exception for bucket notification filter rule validation

* change the way RESTErrors generate the response body and content-type header

* fix lint errors and disable "black" syntax enforcement

* remove return type hint in RESTError.get_body

* add RESTError XML template for IAM exceptions

* add support for API GW minimumCompressionSize

* fix casing getting PrivateDnsEnabled API GW attribute

* minor fixes for error responses

* fix escaping special chars for IAM role descriptions (tf-compat)

* minor fixes and tagging support for API GW and ELB v2 (tf-compat)

* Merge branch 'master' into localstack

* add "AlarmRule" attribute to enable support for composite CloudWatch metrics

* fix recursive parsing of complex/nested query params

* bump version

* add API to delete S3 website configurations (#18)

* use dict copy to allow parallelism and avoid concurrent modification exceptions in S3

* fix precondition check for etags in S3 (#19)

* minor fix for user filtering in Cognito

* fix API Gateway error response; avoid returning empty response templates (tf-compat)

* support tags and tracingEnabled attribute for API GW stages

* fix boolean value in S3 encryption response (#20)

* fix connection arn structure

* fix api destination arn structure

* black format

* release 2.0.3.37

* fix s3 exception tests

see botocore/parsers.py:1002 where RequestId is removed from parsed

* remove python 2 from build action

* add test failure annotations in build action

* fix events test arn comparisons

* fix s3 encryption response test

* return default value "0" if EC2 availableIpAddressCount is empty

* fix extracting SecurityGroupIds for EC2 VPC endpoints

* support deleting/updating API Gateway DomainNames

* fix(events): Return empty string instead of null when no pattern is specified in EventPattern (tf-compat) (#22)

* fix logic and revert CF changes to get tests running again (#21)

* add support for EC2 customer gateway API (#25)

* add support for EC2 Transit Gateway APIs (#24)

* feat(logs): add `kmsKeyId` into `LogGroup` entity (#23)

* minor change in ELBv2 logic to fix tests

* feat(events): add APIs to describe and delete CloudWatch Events connections (#26)

* add support for EC2 transit gateway route tables (#27)

* pass transit gateway route table ID in Describe API, minor refactoring (#29)

* add support for EC2 Transit Gateway Routes (#28)

* fix region on ACM certificate import (#31)

* add support for EC2 transit gateway attachments (#30)

* add support for EC2 Transit Gateway VPN attachments (#32)

* fix account ID for logs API

* add support for DeleteOrganization API

* feat(events): store raw filter representation for CloudWatch events patterns (tf-compat) (#36)

* feat(events): add support to describe/update/delete CloudWatch API destinations (#35)

* add Cognito UpdateIdentityPool, CW Logs PutResourcePolicy

* feat(events): add support for tags in EventBus API (#38)

* fix parameter validation for Batch compute environments (tf-compat)

* revert merge conflicts in IMPLEMENTATION_COVERAGE.md

* format code using black

* restore original README; re-enable and fix CloudFormation tests

* restore tests and old logic for CF stack parameters from SSM

* parameterize RequestId/RequestID in response messages and revert related test changes

* undo LocalStack-specific adaptations

* minor fix

* Update CodeCov config to reflect removal of Py2

* undo change related to CW metric filtering; add additional test for CW metric statistics with dimensions

* Terraform - Extend whitelist of running tests

Co-authored-by: acsbendi <acsbendi28@gmail.com>
Co-authored-by: Phan Duong <duongpv@outlook.com>
Co-authored-by: Thomas Rausch <thomas@thrau.at>
Co-authored-by: Macwan Nevil <macnev2013@gmail.com>
Co-authored-by: Dominik Schubert <dominik.schubert91@gmail.com>
Co-authored-by: Gonzalo Saad <saad.gonzalo.ale@gmail.com>
Co-authored-by: Mohit Alonja <monty16597@users.noreply.github.com>
Co-authored-by: Miguel Gagliardo <migag9@gmail.com>
Co-authored-by: Bert Blommers <info@bertblommers.nl>
2021-07-26 15:21:17 +01:00
..
test_acm Make it possible to customize the ACM cert validation wait time. (#3843) 2021-04-10 08:13:20 +01:00
test_apigateway Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_applicationautoscaling Bugfix for put_scaling_policy in applicationautoscaling. (#4054) 2021-07-07 12:36:26 +01:00
test_athena Linting 2020-11-11 15:55:37 +00:00
test_autoscaling Fix/autoscaling elb interaction (#3757) 2021-04-30 09:29:20 +01:00
test_awslambda #3991 - AWSLambda - set content-type to app/json (#4046) 2021-06-30 11:02:38 +01:00
test_batch AWS Batch enhancements (#3956) 2021-05-26 08:52:09 +01:00
test_cloudformation Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_cloudwatch Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_codecommit Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_codepipeline Linting 2020-11-11 15:55:37 +00:00
test_cognitoidentity Fix ResourceNotFoundError exception message (#3582) 2021-01-10 13:26:40 +00:00
test_cognitoidp fix: cognito-idp: admin_create_user remove default attributes (#4070) 2021-07-14 15:35:09 +01:00
test_config Linting 2020-11-11 15:55:37 +00:00
test_core Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_datapipeline Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_datasync Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_dms DMS - basic task replication methods implementation (#3900) 2021-05-06 18:33:48 +01:00
test_dynamodb Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_dynamodb2 Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_dynamodbstreams Py3: use unittest.mock instead of mock (#3481) 2021-04-06 10:22:42 +01:00
test_ec2 Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_ec2instanceconnect Improve implementation coverage (and layout) 2020-05-12 14:58:35 +01:00
test_ecr Remove redundant test code (#3640) 2021-01-31 12:21:24 +00:00
test_ecs Add the abilitiy to set ECS task definition task role and execution role arns (#3869) 2021-04-21 18:56:09 +01:00
test_eks Initial EKS Implementaion (#3981) 2021-06-20 11:34:31 +01:00
test_elasticbeanstalk Refactor ARNs to remove hardcoded account id (#3701) 2021-02-17 09:06:22 +00:00
test_elb Address pytest warnings (#3629) 2021-01-29 11:31:56 +00:00
test_elbv2 Support all ELBv2 ListenerRule condition types (#4066) 2021-07-16 08:01:14 +01:00
test_emr Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_events Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_forecast Linting 2020-11-11 15:55:37 +00:00
test_glacier Allow Glacier VaultName to contain period (#3964) 2021-05-27 08:44:20 +01:00
test_glue Implement full Database object for Glue get_database() - fix for #3571. (#3572) 2021-01-11 13:10:18 +00:00
test_iam Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_iot Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_iotdata Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_kinesis #4067: Add support for kinesis retention hours (#4068) 2021-07-14 15:36:30 +01:00
test_kinesisvideo Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_kinesisvideoarchivedmedia Linting 2020-11-11 15:55:37 +00:00
test_kms Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_logs Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_managedblockchain Make Moto (tests) compatible with flask/werkzeug 2.x (#3923) 2021-05-13 10:36:56 +01:00
test_mediaconnect Add support for remove_flow_output and remove_flow_vpc_interface (#4058) 2021-07-07 11:11:19 +01:00
test_medialive Implementation of core AWS Mediapackage endpoints (#3762) 2021-03-12 14:56:25 +00:00
test_mediapackage Media store data Service (#3955) 2021-06-28 13:23:23 +01:00
test_mediastore Media store data Service (#3955) 2021-06-28 13:23:23 +01:00
test_mediastoredata Media store data Service (#3955) 2021-06-28 13:23:23 +01:00
test_opsworks Address pytest warnings (#3629) 2021-01-29 11:31:56 +00:00
test_organizations Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_packages Py3: use unittest.mock instead of mock (#3481) 2021-04-06 10:22:42 +01:00
test_polly Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_ram Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_rds Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_rds2 Use centralized ACCOUNT_ID (#4029) 2021-06-23 18:03:11 +01:00
test_redshift Fix:Add functionality authorize-cluster-security-group-ingress (#3742) 2021-03-10 08:46:13 +00:00
test_resourcegroups Fix resource group get-group-query & update-query-query (#3934) 2021-05-18 20:58:21 +01:00
test_resourcegroupstaggingapi Add ResourceGroupsTaggingAPI Support for RDS Resources (#3674) 2021-02-11 15:15:24 +00:00
test_route53 sort Route53 resource record sets (#3864) 2021-04-20 12:50:05 +01:00
test_s3 Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_s3bucket_path Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_sagemaker Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_secretsmanager Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_ses Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_sns Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_sqs Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
test_ssm Use centralized ACCOUNT_ID (#4029) 2021-06-23 18:03:11 +01:00
test_stepfunctions Update integration test to use Pytest (#3703) 2021-02-17 15:06:31 +00:00
test_sts Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_support Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
test_swf EMR and SWF - add arn to response (#3873) 2021-04-23 15:20:36 +01:00
test_transcribe Linting 2020-11-11 15:55:37 +00:00
test_utilities Support Podman for mocking Lambda (#3702) 2021-02-18 08:58:20 +00:00
test_xray Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
__init__.py Address pytest warnings (#3629) 2021-01-29 11:31:56 +00:00
compat.py Check S3_IGNORE_SUBDOMAIN_BUCKETNAME environment variable (#3796) 2021-03-26 16:51:19 +00:00
helpers.py Remove Py2 support (#3915) 2021-07-26 07:40:39 +01:00
terraform-tests.failures.txt Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00
terraform-tests.success.txt Merge LocalStack changes into upstream moto (#4082) 2021-07-26 15:21:17 +01:00