moto/tests
Graham Lyons 5d51329c34 Don't create volumes for AMIs (#1456)
* Delete the volume used during AMI creation

Creating an AMI doesn't actually result in the creation of an EBS
volume, although the associated snapshot does reference one. To that
end, delete the volume once we've used it.

* Add `owner_id` to `Snapshot`, verify AMI snapshots

The default AMIs which are created by moto have EBS volume mappings
but the snapshots associated with those don't have the correct
owners set.

This adds the owner to the snapshot model and passes it through from
the JSON data.
2018-03-21 08:55:58 -07:00
..
test_acm ACM ~100% coverage 2017-10-28 17:07:34 +01:00
test_apigateway Lints. 2017-02-23 21:37:43 -05:00
test_autoscaling Fix test_suspend_processes 2018-03-09 18:00:23 -05:00
test_awslambda Lambda improvements (#1344) 2017-11-26 21:28:28 +00:00
test_batch Added server test 2017-10-22 21:36:39 +01:00
test_cloudformation Merge pull request #1442 from JackDanger/jack/importing-sure-in-tests-that-require-it 2018-03-06 22:38:10 -05:00
test_cloudwatch Change name of 'state' attribute of 'FakeAlarm' CloudWatch model to 'state_value'. This ensures that the 'StateValue' returned by 'describe_alarms' is correct. 2018-01-08 13:18:50 +01:00
test_core Fix camelcase_to_underscore. Closes #767. 2017-03-15 23:39:36 -04:00
test_datapipeline Merge #913. 2017-05-10 21:58:42 -04:00
test_dynamodb Lints. 2017-02-23 21:37:43 -05:00
test_dynamodb2 Adds if_not_exists function to DynamoDB Update Expression 2017-11-26 22:29:23 +00:00
test_ec2 Don't create volumes for AMIs (#1456) 2018-03-21 08:55:58 -07:00
test_ecr Add batch_get_image support for ECR (#1406) 2017-12-30 18:39:23 -08:00
test_ecs Add default ecs attributes and format in response obj (#1346) 2017-11-17 18:25:08 +00:00
test_elb Adding version string to server tests 2017-08-02 13:41:39 -07:00
test_elbv2 ELBv2.create_listener links TargetGroup to LB 2018-03-06 16:57:56 -05:00
test_emr Add support for recursive emr settings 2017-06-27 11:31:43 -07:00
test_events Completed events 2017-10-28 20:17:34 +01:00
test_glacier Lints. 2017-02-23 21:37:43 -05:00
test_iam Add update_access_key endpoint (#1423) 2018-01-10 18:29:08 -05:00
test_iot Add group features to iot (#1402) 2018-01-04 09:59:37 +00:00
test_iotdata Add publish operation to iotdata (#1362) 2017-11-24 17:22:53 +00:00
test_kinesis add support for kinesis AT_TIMESTAMP shard iterator (#1376) 2017-12-08 10:57:05 +00:00
test_kms fix KeyError in delete_alias in the KmsBackend. (#1359) 2017-11-27 10:36:25 +00:00
test_logs Fix cloudwatch logs' response error (#1426) 2018-03-21 08:55:03 -07:00
test_opsworks Add more exception tests for opsworks 2018-02-19 15:22:53 +02: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 change get_param method to get_int_param 2018-01-25 00:51:14 +09:00
test_redshift Merge pull request #1488 from andharris/iam-roles 2018-03-07 09:28:26 -05:00
test_resourcegroupstaggingapi add elasticloadbalancer:loadbalancer to resourcegroupstaggingapi.get_resources 2018-01-25 14:51:06 +13:00
test_route53 Do not treat StartRecordName and StartRecordType in the list_resource_record_sets as filters 2017-10-23 21:58:39 +02:00
test_s3 Merge pull request #1499 from srikiraju/fix/s3-list-deleted 2018-03-07 07:08:07 -05:00
test_s3bucket_path Authenticating to S3 in tests 2017-09-16 12:49:07 -07:00
test_ses Adding list_verified_email_addresses and testing 2017-07-11 08:02:31 +00:00
test_sns Implement basic SNS message filtering (#1521) 2018-03-21 08:49:11 -07:00
test_sqs Improve SQS Compatibility with AWS (#1520) 2018-03-21 08:48:08 -07:00
test_ssm note 2018-02-19 09:59:52 -06:00
test_sts Lints. 2017-02-23 21:37:43 -05:00
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 Testing new version of decorator. 2017-02-15 22:35:45 -05:00
backport_assert_raises.py Lints. 2017-02-23 21:37:43 -05:00
helpers.py Lints. 2017-02-23 21:37:43 -05:00