Skip to content

Commit 7257966

Browse files
committed
Fix linters violations
1 parent 76dfaad commit 7257966

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

simpleflow/swf/mapper/actors/core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
from __future__ import annotations
22

3-
from typing import TYPE_CHECKING
43

54
from simpleflow.swf.mapper.core import ConnectedSWFObject
65
from simpleflow.swf.mapper.models.domain import Domain

tests/test_simpleflow/swf/mapper/models/test_domain.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,10 @@
1010
import simpleflow.swf.mapper.settings
1111
from simpleflow.swf.mapper.constants import DEPRECATED
1212
from simpleflow.swf.mapper.core import ConnectedSWFObject
13-
from simpleflow.swf.mapper.exceptions import AlreadyExistsError, ResponseError
13+
from simpleflow.swf.mapper.exceptions import AlreadyExistsError
1414
from simpleflow.swf.mapper.models.domain import Domain, DomainDoesNotExist
1515
from simpleflow.swf.mapper.querysets.domain import DomainQuerySet
1616
from simpleflow.swf.mapper.querysets.workflow import WorkflowTypeQuerySet
17-
from tests.test_simpleflow.swf.mapper.mocks.base import MiniMock
1817
from tests.test_simpleflow.swf.mapper.mocks.domain import mock_describe_domain
1918

2019
simpleflow.swf.mapper.settings.set(aws_access_key_id="fakeaccesskey", aws_secret_access_key="fakesecret")

tests/test_simpleflow/swf/mapper/querysets/test_workflow.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)