Add Org Execute

This commit is contained in:
Wayne Witzel III
2018-02-02 17:25:33 +00:00
parent 9e7bd55579
commit 819b318fe5
7 changed files with 28 additions and 6 deletions

View File

@@ -245,6 +245,7 @@ class TestWorkflowAccessMethods:
organization = Organization(name='test-org')
workflow.organization = organization
organization.workflow_admin_role = Role()
def mock_get_object(Class, **kwargs):
if Class == Organization:
return organization