Skip to content

Commit 290aec5

Browse files
committed
Rename functions
1 parent fd9fd09 commit 290aec5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_client_type_errors.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ async def run(self, _: WorkflowInput) -> WorkflowOutput:
7979
return WorkflowOutput()
8080

8181

82-
async def _test_start_and_execute_workflow_type_errors():
82+
async def _start_and_execute_workflow_code_for_type_checking_test():
8383
client = Client(service_client=Mock(spec=ServiceClient))
8484

8585
# Good
@@ -117,7 +117,7 @@ async def _test_start_and_execute_workflow_type_errors():
117117
)
118118

119119

120-
async def _test_signal_type_errors():
120+
async def _signal_workflow_code_for_type_checking_test():
121121
client = Client(service_client=Mock(spec=ServiceClient))
122122
handle: WorkflowHandle[TestWorkflow, WorkflowOutput] = await client.start_workflow(
123123
TestWorkflow.run, WorkflowInput(), id="wid", task_queue="tq"
@@ -134,7 +134,7 @@ async def _test_signal_type_errors():
134134
await handle.signal(TestWorkflow2.signal, SignalInput()) # type: ignore
135135

136136

137-
async def _test_query_type_errors():
137+
async def _query_workflow_code_for_type_checking_test():
138138
client = Client(service_client=Mock(spec=ServiceClient))
139139
handle: WorkflowHandle[TestWorkflow, WorkflowOutput] = await client.start_workflow(
140140
TestWorkflow.run, WorkflowInput(), id="wid", task_queue="tq"
@@ -152,7 +152,7 @@ async def _test_query_type_errors():
152152
await handle.query(TestWorkflow2.query, QueryInput()) # type: ignore
153153

154154

155-
async def _test_start_and_execute_update_type_errors():
155+
async def _update_workflow_code_for_type_checking_test():
156156
client = Client(service_client=Mock(spec=ServiceClient))
157157
handle: WorkflowHandle[TestWorkflow, WorkflowOutput] = await client.start_workflow(
158158
TestWorkflow.run, WorkflowInput(), id="wid", task_queue="tq"
@@ -186,7 +186,7 @@ async def _test_start_and_execute_update_type_errors():
186186
await handle.execute_update(TestWorkflow2.update, UpdateInput()) # type: ignore
187187

188188

189-
async def _test_start_and_execute_update_with_start_type_errors():
189+
async def _update_with_start_workflow_code_for_type_checking_test():
190190
client = Client(service_client=Mock(spec=ServiceClient))
191191

192192
# Good

0 commit comments

Comments
 (0)