moto/tests
Hans 9b12ce6809 Fix #1842 Create cross region VPC peering connection in both region (#2195)
Add a class level store in models/VPCPeeringConnectionBackend of ec2
for saving vpc peering connection.
Any instance can correctly save VPC peering connection info
on both region when it create vpc peering connection.

Update vpc_peering_connections in ec2/responses to meet new version:
DESCRIBE_VPC_PEERING_CONNECTIONS_RESPONSE,
ACCEPT_VPC_PEERING_CONNECTION_RESPONSE,

Previous code only create one region VPC peering connection but
doesn't create the other region VPC peering connection
when create cross region VPC peering connection.

Tested in real AWS environment at first
and create unit test case according to real AWS environment response.

Add 5 test cases
VPC cross region delete case
VPC cross region accept case
VPC cross region accept wrong region case
VPC cross region reject case
VPC cross region reject wrong region case

Related: #1842, #1830
2019-05-25 10:21:57 +01:00
..
test_acm Revert "Add back ACM tests." 2018-04-13 10:37:06 -04:00
test_apigateway Adds keyId support to apigateway get_usage_plans 2018-10-17 13:44:00 +01:00
test_autoscaling Add requestid checking for autoscaling 2019-01-20 22:54:05 -08:00
test_awslambda fix #2190 (#2194) 2019-05-21 17:49:56 +01:00
test_batch Trying to improve coverage 2019-02-17 09:25:35 -06:00
test_cloudformation support to create dynamodb resource by cloudformation (#2219) 2019-05-25 10:16:33 +01:00
test_cloudwatch Merge branch 'master' into bugfix/1615-cloudwatch-statistics 2018-05-29 22:19:25 -04:00
test_cognitoidentity fixes for cognito identity library 2018-10-09 10:28:15 -07:00
test_cognitoidp Add cognito-idp admin_update_user_attributes #2184 (#2185) 2019-05-20 23:58:10 +01:00
test_config Fixed validation bugs in put_configuration_recorder 2019-03-11 13:25:36 -07:00
test_core remove merge_taglists as AWS will only take submitted tags or tags from db but not both when creating snapshot 2018-09-21 13:28:13 -05:00
test_datapipeline
test_dynamodb
test_dynamodb2 #2212 add support for delete on update_with_attribute_updates (#2213) 2019-05-22 10:47:02 +01:00
test_dynamodbstreams Fix test failures in server mode 2018-11-08 13:57:44 -05:00
test_ec2 Fix #1842 Create cross region VPC peering connection in both region (#2195) 2019-05-25 10:21:57 +01:00
test_ecr Merge remote-tracking branch 'upstream/master' 2018-09-12 11:48:19 +02:00
test_ecs Adds Support for filtering on schedulingStrategy in ECS#list_services (#2180) 2019-05-02 19:00:28 +01:00
test_elb Tests on Travis: specify region name. 2018-08-06 11:01:33 +02:00
test_elbv2 Handle edge case where you can end up with double dashes in target group names 2018-06-06 11:57:42 -04:00
test_emr Escape EMR template fields to avoid invalid XML responses (#1467) 2018-03-21 08:57:50 -07:00
test_events Trying to improve coverage 2019-02-18 09:15:07 -06:00
test_glacier Use 'data' attribute of Flask Request object. (#1117) 2018-03-21 22:13:09 -07:00
test_glue Mock more of the Glue Data Catalog APIs 2018-10-03 15:34:38 +01:00
test_iam Adding support for specifying a PermissionsBoundary ARN in calls to i… (#2182) 2019-05-21 17:44:05 +01:00
test_iot Merge pull request #1901 from cm-iwata/add_iot_attach_policy 2018-12-28 20:17:31 -05:00
test_iotdata Add publish operation to iotdata (#1362) 2017-11-24 17:22:53 +00:00
test_kinesis add implemented kinesis method describe_stream_summary (#2023) 2019-05-21 00:02:36 +01:00
test_kms Platform independent KMS timestamp generation (#2193) 2019-05-21 17:46:22 +01:00
test_logs Feature cloudwatch log retention (#2199) 2019-05-25 10:14:23 +01:00
test_opsworks Add opsworks app mocks (#1481) 2018-03-21 09:05:57 -07:00
test_organizations [Resolves #2196] - endpoints for querying organizations SC policies (#2197) 2019-05-25 10:20:19 +01:00
test_packages Adding additional tests to increase coverage 2019-02-16 20:53:27 -06:00
test_polly Added server testcase 2017-09-27 09:54:46 +01:00
test_rds Re-enabling tests on Python3 2017-06-20 11:58:18 -07:00
test_rds2 add support for tags to rds snapshots 2018-09-21 12:03:13 -05:00
test_redshift Updating redshift.describe_cluster_snapshots to return multiple snapshots for cluster_identifier (#2216) 2019-05-23 09:01:47 +01:00
test_resourcegroupstaggingapi add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi.get_resources 2018-01-25 14:51:06 +13:00
test_route53 Check record type when upserting. 2019-03-01 16:44:50 +00:00
test_s3 Fixed copy-object from unversioned bucket to versioned bucket 2019-04-02 15:30:01 +02:00
test_s3bucket_path Fixing broken tests #2126 2019-03-28 10:09:03 -07:00
test_secretsmanager Feature: Secrets Manager put_secret_value and list_secret_version_ids (#2116) 2019-05-22 10:45:22 +01:00
test_ses Support optional Source, parse from header 2018-05-04 18:58:52 -07:00
test_sns Allow attributes to be set with subscribe command (#1705) 2018-07-13 10:21:33 +01:00
test_sqs Add requestid checking for sqs 2019-01-20 22:54:05 -08:00
test_ssm Merge pull request #2000 from AlanAlexander-Janrain/master 2018-12-28 21:27:45 -05:00
test_sts
test_swf importing sure in tests that require it 2018-01-20 19:44:22 -08:00
test_xray AWS X-Ray client mock. (#1255) 2017-10-16 17:06:22 -07:00
__init__.py
backport_assert_raises.py
helpers.py