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