f4b81e69b8
* Address `boto` deprecation warnings This commit eliminates the following warning: ../boto/ec2/connection.py:582: PendingDeprecationWarning: The current get_all_instances implementation will be replaced with get_all_reservations. `boto` isn't likely to ever make good on this warning, but doing the replacement will declutter the `moto` test output. * Remove `invoke_lambda` tracebacks from unit test logging If an exception is encountered, the details are returned in the response payload. Printing the traceback was just adding noise to the pytest output. * Use known AMIs in unit tests This commit eliminates the following warning in the pytest output: `PendingDeprecationWarning: Could not find AMI with image-id:ami-123456, in the near future this will cause an error.` Known, pre-loaded AMI image ids are used instead of random ids that don't actually exist in the moto backend. The integrity of the tests is unaffected by this change. A test has been added to provide explicit coverage of the PendingDeprecationWarning raised when an invalid AMI image id is passed to moto. |
||
---|---|---|
.. | ||
__init__.py | ||
helpers.py | ||
test_account_attributes.py | ||
test_amazon_dev_pay.py | ||
test_amis.py | ||
test_availability_zones_and_regions.py | ||
test_customer_gateways.py | ||
test_dhcp_options.py | ||
test_ec2_cloudformation.py | ||
test_ec2_core.py | ||
test_elastic_block_store.py | ||
test_elastic_ip_addresses.py | ||
test_elastic_network_interfaces.py | ||
test_flow_logs.py | ||
test_general.py | ||
test_iam_instance_profile_associations.py | ||
test_instance_type_offerings.py | ||
test_instance_types.py | ||
test_instances.py | ||
test_internet_gateways.py | ||
test_ip_addresses.py | ||
test_key_pairs.py | ||
test_launch_templates.py | ||
test_monitoring.py | ||
test_nat_gateway.py | ||
test_network_acls.py | ||
test_placement_groups.py | ||
test_regions.py | ||
test_reserved_instances.py | ||
test_route_tables.py | ||
test_security_groups_cloudformation.py | ||
test_security_groups.py | ||
test_server.py | ||
test_spot_fleet.py | ||
test_spot_instances.py | ||
test_subnets.py | ||
test_tags.py | ||
test_utils.py | ||
test_virtual_private_gateways.py | ||
test_vm_export.py | ||
test_vm_import.py | ||
test_vpc_peering.py | ||
test_vpcs.py | ||
test_vpn_connections.py | ||
test_windows.py |