Add a Domain to WorkflowExecution objects

This will be needed later for finding an activity type for instance.
This commit is contained in:
Jean-Baptiste Barth 2015-10-25 11:30:11 +01:00
commit 53630dc061
4 changed files with 50 additions and 29 deletions

View file

@ -1,8 +1,14 @@
from moto.swf.models import (
Domain,
WorkflowType,
)
# A test Domain
def get_basic_domain():
return Domain("test-domain", "90")
# A generic test WorkflowType
def _generic_workflow_type_attributes():
return [