Add BaseModel to all models.

This commit is contained in:
Steve Pulec 2017-03-11 23:41:12 -05:00
commit 6d422d1f37
34 changed files with 122 additions and 116 deletions

View file

@ -14,12 +14,12 @@ except:
from io import StringIO
import boto.awslambda
from moto.core import BaseBackend
from moto.core import BaseBackend, BaseModel
from moto.s3.models import s3_backend
from moto.s3.exceptions import MissingBucket
class LambdaFunction(object):
class LambdaFunction(BaseModel):
def __init__(self, spec):
# required