diff --git a/moto/ec2/responses/amazon_dev_pay.py b/moto/ec2/responses/amazon_dev_pay.py index 1f656c340..c1c212716 100644 --- a/moto/ec2/responses/amazon_dev_pay.py +++ b/moto/ec2/responses/amazon_dev_pay.py @@ -6,5 +6,5 @@ from moto.ec2.utils import resource_ids_from_querystring class AmazonDevPay(object): def confirm_product_instance(self): - return NotImplemented + raise NotImplementedError('AmazonDevPay.confirm_product_instance is not yet implemented') diff --git a/moto/ec2/responses/amis.py b/moto/ec2/responses/amis.py index b7aba665e..8d763e5a9 100644 --- a/moto/ec2/responses/amis.py +++ b/moto/ec2/responses/amis.py @@ -6,23 +6,23 @@ from moto.ec2.utils import resource_ids_from_querystring class AMIs(object): def create_image(self): - return NotImplemented + raise NotImplementedError('AMIs.create_image is not yet implemented') def deregister_image(self): - return NotImplemented + raise NotImplementedError('AMIs.deregister_image is not yet implemented') def describe_image_attribute(self): - return NotImplemented + raise NotImplementedError('AMIs.describe_image_attribute is not yet implemented') def describe_images(self): - return NotImplemented + raise NotImplementedError('AMIs.describe_images is not yet implemented') def modify_image_attribute(self): - return NotImplemented + raise NotImplementedError('AMIs.modify_image_attribute is not yet implemented') def register_image(self): - return NotImplemented + raise NotImplementedError('AMIs.register_image is not yet implemented') def reset_image_attribute(self): - return NotImplemented + raise NotImplementedError('AMIs.reset_image_attribute is not yet implemented') diff --git a/moto/ec2/responses/availability_zonesand_regions.py b/moto/ec2/responses/availability_zonesand_regions.py index 456eac2b2..bb794f71c 100644 --- a/moto/ec2/responses/availability_zonesand_regions.py +++ b/moto/ec2/responses/availability_zonesand_regions.py @@ -6,8 +6,8 @@ from moto.ec2.utils import resource_ids_from_querystring class AvailabilityZonesandRegions(object): def describe_availability_zones(self): - return NotImplemented + raise NotImplementedError('AvailabilityZonesandRegions.describe_availability_zones is not yet implemented') def describe_regions(self): - return NotImplemented + raise NotImplementedError('AvailabilityZonesandRegions.describe_regions is not yet implemented') diff --git a/moto/ec2/responses/customer_gateways.py b/moto/ec2/responses/customer_gateways.py index cf260a1f4..ddcb969a6 100644 --- a/moto/ec2/responses/customer_gateways.py +++ b/moto/ec2/responses/customer_gateways.py @@ -6,11 +6,11 @@ from moto.ec2.utils import resource_ids_from_querystring class CustomerGateways(object): def create_customer_gateway(self): - return NotImplemented + raise NotImplementedError('CustomerGateways(AmazonVPC).create_customer_gateway is not yet implemented') def delete_customer_gateway(self): - return NotImplemented + raise NotImplementedError('CustomerGateways(AmazonVPC).delete_customer_gateway is not yet implemented') def describe_customer_gateways(self): - return NotImplemented + raise NotImplementedError('CustomerGateways(AmazonVPC).describe_customer_gateways is not yet implemented') diff --git a/moto/ec2/responses/dhcp_options.py b/moto/ec2/responses/dhcp_options.py index 77923ef64..abb0fbdbc 100644 --- a/moto/ec2/responses/dhcp_options.py +++ b/moto/ec2/responses/dhcp_options.py @@ -6,14 +6,14 @@ from moto.ec2.utils import resource_ids_from_querystring class DHCPOptions(object): def associate_dhcp_options(self): - return NotImplemented + raise NotImplementedError('DHCPOptions(AmazonVPC).associate_dhcp_options is not yet implemented') def create_dhcp_options(self): - return NotImplemented + raise NotImplementedError('DHCPOptions(AmazonVPC).create_dhcp_options is not yet implemented') def delete_dhcp_options(self): - return NotImplemented + raise NotImplementedError('DHCPOptions(AmazonVPC).delete_dhcp_options is not yet implemented') def describe_dhcp_options(self): - return NotImplemented + raise NotImplementedError('DHCPOptions(AmazonVPC).describe_dhcp_options is not yet implemented') diff --git a/moto/ec2/responses/elastic_block_store.py b/moto/ec2/responses/elastic_block_store.py index 3f211fb0a..1c9b8b2ef 100644 --- a/moto/ec2/responses/elastic_block_store.py +++ b/moto/ec2/responses/elastic_block_store.py @@ -6,53 +6,53 @@ from moto.ec2.utils import resource_ids_from_querystring class ElasticBlockStore(object): def attach_volume(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.attach_volume is not yet implemented') def copy_snapshot(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.copy_snapshot is not yet implemented') def create_snapshot(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.create_snapshot is not yet implemented') def create_volume(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.create_volume is not yet implemented') def delete_snapshot(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.delete_snapshot is not yet implemented') def delete_volume(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.delete_volume is not yet implemented') def describe_snapshot_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.describe_snapshot_attribute is not yet implemented') def describe_snapshots(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.describe_snapshots is not yet implemented') def describe_volumes(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.describe_volumes is not yet implemented') def describe_volume_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.describe_volume_attribute is not yet implemented') def describe_volume_status(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.describe_volume_status is not yet implemented') def detach_volume(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.detach_volume is not yet implemented') def enable_volume_io(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.enable_volume_io is not yet implemented') def import_volume(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.import_volume is not yet implemented') def modify_snapshot_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.modify_snapshot_attribute is not yet implemented') def modify_volume_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.modify_volume_attribute is not yet implemented') def reset_snapshot_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticBlockStore.reset_snapshot_attribute is not yet implemented') diff --git a/moto/ec2/responses/elastic_ip_addresses.py b/moto/ec2/responses/elastic_ip_addresses.py index c266697fb..2a5d67ab2 100644 --- a/moto/ec2/responses/elastic_ip_addresses.py +++ b/moto/ec2/responses/elastic_ip_addresses.py @@ -6,17 +6,17 @@ from moto.ec2.utils import resource_ids_from_querystring class ElasticIPAddresses(object): def allocate_address(self): - return NotImplemented + raise NotImplementedError('ElasticIPAddresses.allocate_address is not yet implemented') def associate_address(self): - return NotImplemented + raise NotImplementedError('ElasticIPAddresses.associate_address is not yet implemented') def describe_addresses(self): - return NotImplemented + raise NotImplementedError('ElasticIPAddresses.describe_addresses is not yet implemented') def disassociate_address(self): - return NotImplemented + raise NotImplementedError('ElasticIPAddresses.disassociate_address is not yet implemented') def release_address(self): - return NotImplemented + raise NotImplementedError('ElasticIPAddresses.release_address is not yet implemented') diff --git a/moto/ec2/responses/elastic_network_interfaces.py b/moto/ec2/responses/elastic_network_interfaces.py index 3db270f4b..e7f3c1115 100644 --- a/moto/ec2/responses/elastic_network_interfaces.py +++ b/moto/ec2/responses/elastic_network_interfaces.py @@ -6,26 +6,26 @@ from moto.ec2.utils import resource_ids_from_querystring class ElasticNetworkInterfaces(object): def attach_network_interface(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).attach_network_interface is not yet implemented') def create_network_interface(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).create_network_interface is not yet implemented') def delete_network_interface(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).delete_network_interface is not yet implemented') def describe_network_interface_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).describe_network_interface_attribute is not yet implemented') def describe_network_interfaces(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).describe_network_interfaces is not yet implemented') def detach_network_interface(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).detach_network_interface is not yet implemented') def modify_network_interface_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).modify_network_interface_attribute is not yet implemented') def reset_network_interface_attribute(self): - return NotImplemented + raise NotImplementedError('ElasticNetworkInterfaces(AmazonVPC).reset_network_interface_attribute is not yet implemented') diff --git a/moto/ec2/responses/general.py b/moto/ec2/responses/general.py index 7c00d96e5..2e355129d 100644 --- a/moto/ec2/responses/general.py +++ b/moto/ec2/responses/general.py @@ -6,5 +6,5 @@ from moto.ec2.utils import resource_ids_from_querystring class General(object): def get_console_output(self): - return NotImplemented + raise NotImplementedError('General.get_console_output is not yet implemented') diff --git a/moto/ec2/responses/internet_gateways.py b/moto/ec2/responses/internet_gateways.py index 70e42b728..c828bb980 100644 --- a/moto/ec2/responses/internet_gateways.py +++ b/moto/ec2/responses/internet_gateways.py @@ -6,17 +6,17 @@ from moto.ec2.utils import resource_ids_from_querystring class InternetGateways(object): def attach_internet_gateway(self): - return NotImplemented + raise NotImplementedError('InternetGateways(AmazonVPC).attach_internet_gateway is not yet implemented') def create_internet_gateway(self): - return NotImplemented + raise NotImplementedError('InternetGateways(AmazonVPC).create_internet_gateway is not yet implemented') def delete_internet_gateway(self): - return NotImplemented + raise NotImplementedError('InternetGateways(AmazonVPC).delete_internet_gateway is not yet implemented') def describe_internet_gateways(self): - return NotImplemented + raise NotImplementedError('InternetGateways(AmazonVPC).describe_internet_gateways is not yet implemented') def detach_internet_gateway(self): - return NotImplemented + raise NotImplementedError('InternetGateways(AmazonVPC).detach_internet_gateway is not yet implemented') diff --git a/moto/ec2/responses/ip_addresses.py b/moto/ec2/responses/ip_addresses.py index 2726f388c..53b35362e 100644 --- a/moto/ec2/responses/ip_addresses.py +++ b/moto/ec2/responses/ip_addresses.py @@ -6,8 +6,8 @@ from moto.ec2.utils import resource_ids_from_querystring class IPAddresses(object): def assign_private_ip_addresses(self): - return NotImplemented + raise NotImplementedError('IPAddresses.assign_private_ip_addresses is not yet implemented') def unassign_private_ip_addresses(self): - return NotImplemented + raise NotImplementedError('IPAddresses.unassign_private_ip_addresses is not yet implemented') diff --git a/moto/ec2/responses/key_pairs.py b/moto/ec2/responses/key_pairs.py index 6e283bd33..abfaf85c1 100644 --- a/moto/ec2/responses/key_pairs.py +++ b/moto/ec2/responses/key_pairs.py @@ -6,14 +6,14 @@ from moto.ec2.utils import resource_ids_from_querystring class KeyPairs(object): def create_key_pair(self): - return NotImplemented + raise NotImplementedError('KeyPairs.create_key_pair is not yet implemented') def delete_key_pair(self): - return NotImplemented + raise NotImplementedError('KeyPairs.delete_key_pair is not yet implemented') def describe_key_pairs(self): - return NotImplemented + raise NotImplementedError('KeyPairs.describe_key_pairs is not yet implemented') def import_key_pair(self): - return NotImplemented + raise NotImplementedError('KeyPairs.import_key_pair is not yet implemented') diff --git a/moto/ec2/responses/monitoring.py b/moto/ec2/responses/monitoring.py index 9531d7842..c22760640 100644 --- a/moto/ec2/responses/monitoring.py +++ b/moto/ec2/responses/monitoring.py @@ -6,8 +6,8 @@ from moto.ec2.utils import resource_ids_from_querystring class Monitoring(object): def monitor_instances(self): - return NotImplemented + raise NotImplementedError('Monitoring.monitor_instances is not yet implemented') def unmonitor_instances(self): - return NotImplemented + raise NotImplementedError('Monitoring.unmonitor_instances is not yet implemented') diff --git a/moto/ec2/responses/network_acls.py b/moto/ec2/responses/network_acls.py index 64cc5e140..191b8d08e 100644 --- a/moto/ec2/responses/network_acls.py +++ b/moto/ec2/responses/network_acls.py @@ -6,23 +6,23 @@ from moto.ec2.utils import resource_ids_from_querystring class NetworkACLs(object): def create_network_acl(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).create_network_acl is not yet implemented') def create_network_acl_entry(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).create_network_acl_entry is not yet implemented') def delete_network_acl(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).delete_network_acl is not yet implemented') def delete_network_acl_entry(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).delete_network_acl_entry is not yet implemented') def describe_network_acls(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).describe_network_acls is not yet implemented') def replace_network_acl_association(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).replace_network_acl_association is not yet implemented') def replace_network_acl_entry(self): - return NotImplemented + raise NotImplementedError('NetworkACLs(AmazonVPC).replace_network_acl_entry is not yet implemented') diff --git a/moto/ec2/responses/placement_groups.py b/moto/ec2/responses/placement_groups.py index 39f62ab24..1181f51d2 100644 --- a/moto/ec2/responses/placement_groups.py +++ b/moto/ec2/responses/placement_groups.py @@ -6,11 +6,11 @@ from moto.ec2.utils import resource_ids_from_querystring class PlacementGroups(object): def create_placement_group(self): - return NotImplemented + raise NotImplementedError('PlacementGroups.create_placement_group is not yet implemented') def delete_placement_group(self): - return NotImplemented + raise NotImplementedError('PlacementGroups.delete_placement_group is not yet implemented') def describe_placement_groups(self): - return NotImplemented + raise NotImplementedError('PlacementGroups.describe_placement_groups is not yet implemented') diff --git a/moto/ec2/responses/reserved_instances.py b/moto/ec2/responses/reserved_instances.py index 6a7f62509..910720417 100644 --- a/moto/ec2/responses/reserved_instances.py +++ b/moto/ec2/responses/reserved_instances.py @@ -6,20 +6,20 @@ from moto.ec2.utils import resource_ids_from_querystring class ReservedInstances(object): def cancel_reserved_instances_listing(self): - return NotImplemented + raise NotImplementedError('ReservedInstances.cancel_reserved_instances_listing is not yet implemented') def create_reserved_instances_listing(self): - return NotImplemented + raise NotImplementedError('ReservedInstances.create_reserved_instances_listing is not yet implemented') def describe_reserved_instances(self): - return NotImplemented + raise NotImplementedError('ReservedInstances.describe_reserved_instances is not yet implemented') def describe_reserved_instances_listings(self): - return NotImplemented + raise NotImplementedError('ReservedInstances.describe_reserved_instances_listings is not yet implemented') def describe_reserved_instances_offerings(self): - return NotImplemented + raise NotImplementedError('ReservedInstances.describe_reserved_instances_offerings is not yet implemented') def purchase_reserved_instances_offering(self): - return NotImplemented + raise NotImplementedError('ReservedInstances.purchase_reserved_instances_offering is not yet implemented') diff --git a/moto/ec2/responses/route_tables.py b/moto/ec2/responses/route_tables.py index ab1a815f6..a838ed52b 100644 --- a/moto/ec2/responses/route_tables.py +++ b/moto/ec2/responses/route_tables.py @@ -6,29 +6,29 @@ from moto.ec2.utils import resource_ids_from_querystring class RouteTables(object): def associate_route_table(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).associate_route_table is not yet implemented') def create_route(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).create_route is not yet implemented') def create_route_table(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).create_route_table is not yet implemented') def delete_route(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).delete_route is not yet implemented') def delete_route_table(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).delete_route_table is not yet implemented') def describe_route_tables(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).describe_route_tables is not yet implemented') def disassociate_route_table(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).disassociate_route_table is not yet implemented') def replace_route(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).replace_route is not yet implemented') def replace_route_table_association(self): - return NotImplemented + raise NotImplementedError('RouteTables(AmazonVPC).replace_route_table_association is not yet implemented') diff --git a/moto/ec2/responses/security_groups.py b/moto/ec2/responses/security_groups.py index 34afd1e97..15351811b 100644 --- a/moto/ec2/responses/security_groups.py +++ b/moto/ec2/responses/security_groups.py @@ -6,23 +6,23 @@ from moto.ec2.utils import resource_ids_from_querystring class SecurityGroups(object): def authorize_security_group_egress(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.authorize_security_group_egress is not yet implemented') def authorize_security_group_ingress(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.authorize_security_group_ingress is not yet implemented') def create_security_group(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.create_security_group is not yet implemented') def delete_security_group(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.delete_security_group is not yet implemented') def describe_security_groups(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.describe_security_groups is not yet implemented') def revoke_security_group_egress(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.revoke_security_group_egress is not yet implemented') def revoke_security_group_ingress(self): - return NotImplemented + raise NotImplementedError('SecurityGroups.revoke_security_group_ingress is not yet implemented') diff --git a/moto/ec2/responses/spot_instances.py b/moto/ec2/responses/spot_instances.py index d99bd287f..4cf9845bf 100644 --- a/moto/ec2/responses/spot_instances.py +++ b/moto/ec2/responses/spot_instances.py @@ -6,23 +6,23 @@ from moto.ec2.utils import resource_ids_from_querystring class SpotInstances(object): def cancel_spot_instance_requests(self): - return NotImplemented + raise NotImplementedError('SpotInstances.cancel_spot_instance_requests is not yet implemented') def create_spot_datafeed_subscription(self): - return NotImplemented + raise NotImplementedError('SpotInstances.create_spot_datafeed_subscription is not yet implemented') def delete_spot_datafeed_subscription(self): - return NotImplemented + raise NotImplementedError('SpotInstances.delete_spot_datafeed_subscription is not yet implemented') def describe_spot_datafeed_subscription(self): - return NotImplemented + raise NotImplementedError('SpotInstances.describe_spot_datafeed_subscription is not yet implemented') def describe_spot_instance_requests(self): - return NotImplemented + raise NotImplementedError('SpotInstances.describe_spot_instance_requests is not yet implemented') def describe_spot_price_history(self): - return NotImplemented + raise NotImplementedError('SpotInstances.describe_spot_price_history is not yet implemented') def request_spot_instances(self): - return NotImplemented + raise NotImplementedError('SpotInstances.request_spot_instances is not yet implemented') diff --git a/moto/ec2/responses/subnets.py b/moto/ec2/responses/subnets.py index e37b0d177..8511a2dc9 100644 --- a/moto/ec2/responses/subnets.py +++ b/moto/ec2/responses/subnets.py @@ -6,11 +6,11 @@ from moto.ec2.utils import resource_ids_from_querystring class Subnets(object): def create_subnet(self): - return NotImplemented + raise NotImplementedError('Subnets(AmazonVPC).create_subnet is not yet implemented') def delete_subnet(self): - return NotImplemented + raise NotImplementedError('Subnets(AmazonVPC).delete_subnet is not yet implemented') def describe_subnets(self): - return NotImplemented + raise NotImplementedError('Subnets(AmazonVPC).describe_subnets is not yet implemented') diff --git a/moto/ec2/responses/virtual_private_gateways.py b/moto/ec2/responses/virtual_private_gateways.py index 750596dea..1b870ede3 100644 --- a/moto/ec2/responses/virtual_private_gateways.py +++ b/moto/ec2/responses/virtual_private_gateways.py @@ -6,17 +6,17 @@ from moto.ec2.utils import resource_ids_from_querystring class VirtualPrivateGateways(object): def attach_vpn_gateway(self): - return NotImplemented + raise NotImplementedError('VirtualPrivateGateways(AmazonVPC).attach_vpn_gateway is not yet implemented') def create_vpn_gateway(self): - return NotImplemented + raise NotImplementedError('VirtualPrivateGateways(AmazonVPC).create_vpn_gateway is not yet implemented') def delete_vpn_gateway(self): - return NotImplemented + raise NotImplementedError('VirtualPrivateGateways(AmazonVPC).delete_vpn_gateway is not yet implemented') def describe_vpn_gateways(self): - return NotImplemented + raise NotImplementedError('VirtualPrivateGateways(AmazonVPC).describe_vpn_gateways is not yet implemented') def detach_vpn_gateway(self): - return NotImplemented + raise NotImplementedError('VirtualPrivateGateways(AmazonVPC).detach_vpn_gateway is not yet implemented') diff --git a/moto/ec2/responses/vm_export.py b/moto/ec2/responses/vm_export.py index def241b38..a89541f06 100644 --- a/moto/ec2/responses/vm_export.py +++ b/moto/ec2/responses/vm_export.py @@ -6,11 +6,11 @@ from moto.ec2.utils import resource_ids_from_querystring class VMExport(object): def cancel_export_task(self): - return NotImplemented + raise NotImplementedError('VMExport.cancel_export_task is not yet implemented') def create_instance_export_task(self): - return NotImplemented + raise NotImplementedError('VMExport.create_instance_export_task is not yet implemented') def describe_export_tasks(self): - return NotImplemented + raise NotImplementedError('VMExport.describe_export_tasks is not yet implemented') diff --git a/moto/ec2/responses/vm_import.py b/moto/ec2/responses/vm_import.py index 577b06b32..061b91abd 100644 --- a/moto/ec2/responses/vm_import.py +++ b/moto/ec2/responses/vm_import.py @@ -6,14 +6,14 @@ from moto.ec2.utils import resource_ids_from_querystring class VMImport(object): def cancel_conversion_task(self): - return NotImplemented + raise NotImplementedError('VMImport.cancel_conversion_task is not yet implemented') def describe_conversion_tasks(self): - return NotImplemented + raise NotImplementedError('VMImport.describe_conversion_tasks is not yet implemented') def import_instance(self): - return NotImplemented + raise NotImplementedError('VMImport.import_instance is not yet implemented') def import_volume(self): - return NotImplemented + raise NotImplementedError('VMImport.import_volume is not yet implemented') diff --git a/moto/ec2/responses/vpcs.py b/moto/ec2/responses/vpcs.py index 7c5c7e77b..908b3a64e 100644 --- a/moto/ec2/responses/vpcs.py +++ b/moto/ec2/responses/vpcs.py @@ -6,11 +6,11 @@ from moto.ec2.utils import resource_ids_from_querystring class VPCs(object): def create_vpc(self): - return NotImplemented + raise NotImplementedError('VPCs(AmazonVPC).create_vpc is not yet implemented') def delete_vpc(self): - return NotImplemented + raise NotImplementedError('VPCs(AmazonVPC).delete_vpc is not yet implemented') def describe_vpcs(self): - return NotImplemented + raise NotImplementedError('VPCs(AmazonVPC).describe_vpcs is not yet implemented') diff --git a/moto/ec2/responses/vpn_connections.py b/moto/ec2/responses/vpn_connections.py index 128c26fc2..ae399cf22 100644 --- a/moto/ec2/responses/vpn_connections.py +++ b/moto/ec2/responses/vpn_connections.py @@ -6,11 +6,11 @@ from moto.ec2.utils import resource_ids_from_querystring class VPNConnections(object): def create_vpn_connection(self): - return NotImplemented + raise NotImplementedError('VPNConnections(AmazonVPC).create_vpn_connection is not yet implemented') def delete_vpn_connection(self): - return NotImplemented + raise NotImplementedError('VPNConnections(AmazonVPC).delete_vpn_connection is not yet implemented') def describe_vpn_connections(self): - return NotImplemented + raise NotImplementedError('VPNConnections(AmazonVPC).describe_vpn_connections is not yet implemented') diff --git a/moto/ec2/responses/windows.py b/moto/ec2/responses/windows.py index f652bbdd0..5245c915a 100644 --- a/moto/ec2/responses/windows.py +++ b/moto/ec2/responses/windows.py @@ -6,14 +6,14 @@ from moto.ec2.utils import resource_ids_from_querystring class Windows(object): def bundle_instance(self): - return NotImplemented + raise NotImplementedError('Windows.bundle_instance is not yet implemented') def cancel_bundle_task(self): - return NotImplemented + raise NotImplementedError('Windows.cancel_bundle_task is not yet implemented') def describe_bundle_tasks(self): - return NotImplemented + raise NotImplementedError('Windows.describe_bundle_tasks is not yet implemented') def get_password_data(self): - return NotImplemented + raise NotImplementedError('Windows.get_password_data is not yet implemented')