dstandish commented on PR #27428: URL: https://github.com/apache/airflow/pull/27428#issuecomment-1298829044
> I have tested it by mocking the serialization class to raise an exception. Since the behavior was to just catch exception from super class call I have moved it to a separate method for testing since I couldn't find a way to mock super without affecting other marshmallow fields used in the file. Feel free to suggest if there are any other better ways to test this. > > cc: @dstandish i think instead of implementing _super_serialize you can just create a TI with a bad executor config. then you don't need to mock the super class. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
