File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed
Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 2626 PydanticModelWithStrictFieldWorkflow ,
2727 RoundTripMiscObjectsWorkflow ,
2828 RoundTripPydanticObjectsWorkflow ,
29- ValidationErrorWorkflow ,
3029 _test_pydantic_model_with_strict_field ,
3130 clone_objects ,
3231 misc_objects_activity ,
@@ -315,11 +314,11 @@ async def test_validation_error(client: Client):
315314 async with Worker (
316315 client ,
317316 task_queue = task_queue_name ,
318- workflows = [ValidationErrorWorkflow ],
317+ workflows = [NoTypeAnnotationsWorkflow ],
319318 ):
320319 with pytest .raises (pydantic .ValidationError ):
321320 await client .execute_workflow (
322- "ValidationErrorWorkflow " ,
321+ "NoTypeAnnotationsWorkflow " ,
323322 "not-an-int" ,
324323 id = str (uuid .uuid4 ()),
325324 task_queue = task_queue_name ,
Original file line number Diff line number Diff line change @@ -173,10 +173,3 @@ class NoTypeAnnotationsWorkflow:
173173 @workflow .run
174174 async def run (self , arg ):
175175 return arg
176-
177-
178- @workflow .defn
179- class ValidationErrorWorkflow :
180- @workflow .run
181- async def run (self , arg ):
182- return arg
You can’t perform that action at this time.
0 commit comments