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