raise NotImplementedError if not implemented

This commit is contained in:
Steve Pulec 2013-02-22 07:55:48 -05:00
commit 0bd4d57ef2
26 changed files with 125 additions and 125 deletions

View file

@ -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')