moto/tests/test_ec2
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_account_attributes.py Added DescribeAccountAttributes 2017-07-17 23:33:40 +00:00
test_amazon_dev_pay.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_amis.py Don't create volumes for AMIs (#1456) 2018-03-21 08:55:58 -07:00
test_availability_zones_and_regions.py add test for descrie_regions with args 2017-12-28 21:02:58 +00:00
test_customer_gateways.py Lints. 2017-02-23 21:37:43 -05:00
test_dhcp_options.py Lints. 2017-02-23 21:37:43 -05:00
test_ec2_core.py Get standalone server mode working for all tests. 2017-02-23 19:43:48 -05:00
test_elastic_block_store.py Test and fix bug for snapshot searching 2018-01-29 14:30:21 +00:00
test_elastic_ip_addresses.py Fix for instance public ip not being cleared on eip disassociation 2017-09-16 12:26:43 +05:30
test_elastic_network_interfaces.py Implement availability-zone filter for DescribeNetworkInterfaces 2017-03-22 14:36:20 +01:00
test_general.py Fix for regression in get_console_output() 2017-09-27 20:26:45 +05:30
test_instances.py fix EC2 instances ebsOptimized not handled (#1340) 2017-11-14 14:31:54 +00:00
test_internet_gateways.py Lints. 2017-02-23 21:37:43 -05:00
test_ip_addresses.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_key_pairs.py Added keypair filtering 2017-09-14 14:59:13 +05:30
test_monitoring.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_nat_gateway.py Lints. 2017-02-23 21:37:43 -05:00
test_network_acls.py Replace and delete Network ACL Entries 2017-05-14 13:03:43 +01:00
test_placement_groups.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_regions.py Use region list from Boto. 2017-05-26 12:47:28 -07:00
test_reserved_instances.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_route_tables.py Fixed some tests. 2017-10-25 19:29:56 +01:00
test_security_groups.py Support wildcard tag filters on SecurityGroups 2017-10-06 21:55:01 +02:00
test_server.py Lints. 2017-02-23 21:37:43 -05:00
test_spot_fleet.py Make SpotPrice optional when requesting a spot fleet 2018-02-01 18:07:35 -05:00
test_spot_instances.py Fix tests for py3. 2017-02-23 22:28:09 -05:00
test_subnets.py Added invalid id exceptions when filtering vpcs and subnets 2017-09-18 23:38:39 +05:30
test_tags.py Change 'image' for 'volume' when getting tags 2018-01-26 11:12:50 +00:00
test_utils.py Remade ec2.utils.random_key_pair for be really random 2015-09-15 20:09:35 -04:00
test_virtual_private_gateways.py Lints. 2017-02-23 21:37:43 -05:00
test_vm_export.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_vm_import.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00
test_vpc_peering.py Lints. 2017-02-23 21:37:43 -05:00
test_vpcs.py Added invalid id exceptions when filtering vpcs and subnets 2017-09-18 23:38:39 +05:30
test_vpn_connections.py Lints. 2017-02-23 21:37:43 -05:00
test_windows.py from __future__ import unicode_literals 2014-08-27 11:33:55 -04:00