dstandish commented on code in PR #27428:
URL: https://github.com/apache/airflow/pull/27428#discussion_r1013259382


##########
tests/api_connexion/endpoints/test_task_instance_endpoint.py:
##########
@@ -41,6 +41,11 @@
 DEFAULT_DATETIME_STR_2 = "2020-01-02T00:00:00+00:00"
 
 
+class _BadExecutorConfig:
+    def __str__(self):
+        raise Exception()

Review Comment:
   ```suggestion
   class BadExecutorConfig:
       """This is used to test what happens when executor config serialization 
fails"""
       def __str__(self):
           raise Exception("Failed to render as string")
   ```



-- 
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]

Reply via email to