Add a Domain to WorkflowExecution objects
This will be needed later for finding an activity type for instance.
This commit is contained in:
parent
fa4608be98
commit
53630dc061
4 changed files with 50 additions and 29 deletions
|
|
@ -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 [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue