moto/tests/test_ec2
Brian Pandola 2bae7e4e0d
Raise error when adding duplicate egress rule to ec2:SecurityGroup (#3801)
The `InvalidPermission.Duplicate` error was already implemented for inbound rules,
but AWS also returns this error for duplicate outbound rules.

Very minor changes were needed on existing tests that were adding duplicate
outbound rules (when testing the RulesPerSecurityGroupLimitExceeded error).
2021-03-26 11:23:07 +00:00
..
__init__.py ec2: add support for creation and importing of real SSH keys (#2108) 2019-05-25 11:17:52 +01:00
helpers.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_account_attributes.py Merge remote-tracking branch 'upstream/master' 2019-12-23 08:38:53 +01:00
test_amazon_dev_pay.py merge 2018-12-21 12:28:56 +01:00
test_amis.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_availability_zones_and_regions.py black reformatting changes 2020-04-24 14:20:58 -04:00
test_customer_gateways.py Port test suite from nose to pytest. 2020-11-10 08:23:44 +01:00
test_dhcp_options.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_ec2_cloudformation.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00
test_ec2_core.py merge 2018-12-21 12:28:56 +01:00
test_elastic_block_store.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_elastic_ip_addresses.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_elastic_network_interfaces.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_flow_logs_cloudformation.py Update integration test to use Pytest (#3703) 2021-02-17 15:06:31 +00:00
test_flow_logs.py Update integration test to use Pytest (#3703) 2021-02-17 15:06:31 +00:00
test_general.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_iam_integration.py Update integration test to use Pytest (#3703) 2021-02-17 15:06:31 +00:00
test_instance_type_offerings.py DescribeInstanceTypeOfferings - script that hardcodes all offerings 2020-12-02 14:41:24 +00:00
test_instance_types.py Run black and fix tests 2020-11-24 00:51:00 +05:30
test_instances.py Enhancement: implement EC2 instance filtering by subnet-id (#3694) 2021-02-15 16:38:40 +00:00
test_internet_gateways.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_ip_addresses.py merge 2018-12-21 12:28:56 +01:00
test_key_pairs.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_launch_templates.py Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_monitoring.py merge 2018-12-21 12:28:56 +01:00
test_nat_gateway.py Fix:Added nat-gateway tags (#3560) 2021-01-07 17:59:46 +00:00
test_network_acls.py Finish porting from nose to pytest. 2020-11-10 08:25:05 +01:00
test_placement_groups.py merge 2018-12-21 12:28:56 +01:00
test_regions.py Address boto deprecation warnings (#3616) 2021-01-26 14:07:19 +00:00
test_reserved_instances.py merge 2018-12-21 12:28:56 +01:00
test_route_tables.py fix route table association by internet gateway (#3773) 2021-03-16 14:15:58 +00:00
test_security_groups_cloudformation.py #3542 - CloudFormation - Fix SecurityGroup ingress rules (#3553) 2021-01-13 13:36:56 +00:00
test_security_groups.py Raise error when adding duplicate egress rule to ec2:SecurityGroup (#3801) 2021-03-26 11:23:07 +00:00
test_server.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00
test_spot_fleet.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00
test_spot_instances.py Use known ImageID in internal tests (#3555) 2021-01-13 09:02:11 +00:00
test_subnets.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_tags.py Address boto deprecation warnings (#3616) 2021-01-26 14:07:19 +00:00
test_utils.py Run black on moto & test directories. 2019-10-31 10:36:05 -07:00
test_virtual_private_gateways.py Adding VPN Gateway filters (#3155) 2020-07-21 16:08:49 +01:00
test_vm_export.py merge 2018-12-21 12:28:56 +01:00
test_vm_import.py merge 2018-12-21 12:28:56 +01:00
test_vpc_peering.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_vpcs.py Tech debt (#3653) 2021-02-02 16:31:26 +00:00
test_vpn_connections.py Linting 2020-11-11 15:55:37 +00:00
test_windows.py merge 2018-12-21 12:28:56 +01:00