Add BaseModel to all models.
This commit is contained in:
parent
caea5f441d
commit
6d422d1f37
34 changed files with 122 additions and 116 deletions
|
|
@ -1,10 +1,10 @@
|
|||
import os
|
||||
import re
|
||||
|
||||
from moto.core import BaseBackend
|
||||
from moto.core import BaseBackend, BaseModel
|
||||
|
||||
|
||||
class Rule(object):
|
||||
class Rule(BaseModel):
|
||||
|
||||
def _generate_arn(self, name):
|
||||
return 'arn:aws:events:us-west-2:111111111111:rule/' + name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue