File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
simpleflow/swf/mapper/actors
tests/test_simpleflow/swf/mapper Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 11from __future__ import annotations
22
3- from typing import TYPE_CHECKING
43
54from simpleflow .swf .mapper .core import ConnectedSWFObject
65from simpleflow .swf .mapper .models .domain import Domain
Original file line number Diff line number Diff line change 1010import simpleflow .swf .mapper .settings
1111from simpleflow .swf .mapper .constants import DEPRECATED
1212from simpleflow .swf .mapper .core import ConnectedSWFObject
13- from simpleflow .swf .mapper .exceptions import AlreadyExistsError , ResponseError
13+ from simpleflow .swf .mapper .exceptions import AlreadyExistsError
1414from simpleflow .swf .mapper .models .domain import Domain , DomainDoesNotExist
1515from simpleflow .swf .mapper .querysets .domain import DomainQuerySet
1616from simpleflow .swf .mapper .querysets .workflow import WorkflowTypeQuerySet
17- from tests .test_simpleflow .swf .mapper .mocks .base import MiniMock
1817from tests .test_simpleflow .swf .mapper .mocks .domain import mock_describe_domain
1918
2019simpleflow .swf .mapper .settings .set (aws_access_key_id = "fakeaccesskey" , aws_secret_access_key = "fakesecret" )
Original file line number Diff line number Diff line change @@ -270,14 +270,14 @@ def test_get_non_existent_workflow_execution(self):
270270 mock .side_effect = ClientError (
271271 {
272272 "Error" : {
273- "Message" : "Unknown execution: WorkflowExecution=[workflowId=mocked-workflow- id, runId=mocked- run-id]" ,
273+ "Message" : "Unknown execution: WorkflowExecution=[workflowId=wf- id, runId=run-id]" ,
274274 "Code" : "UnknownResourceFault" ,
275275 },
276- "message" : "Unknown execution: WorkflowExecution=[workflowId=mocked-workflow- id, runId=mocked- run-id]" ,
276+ "message" : "Unknown execution: WorkflowExecution=[workflowId=wf- id, runId=run-id]" ,
277277 },
278278 "describe_workflow_execution" ,
279279 )
280- self .weq .get ("mocked-workflow- id" , "mocked- run-id" )
280+ self .weq .get ("wf- id" , "run-id" )
281281
282282 def test_get_invalid_workflow_execution (self ):
283283 with patch .object (ConnectedSWFObject , "describe_workflow_execution" ) as mock :
You can’t perform that action at this time.
0 commit comments