amoghrajesh commented on code in PR #53082:
URL: https://github.com/apache/airflow/pull/53082#discussion_r2216031191
##########
task-sdk/tests/task_sdk/execution_time/test_supervisor.py:
##########
@@ -147,6 +147,66 @@ def client_with_ti_start(make_ti_context):
return client
[email protected]("disable_capturing")
+class TestSupervisor:
+ @pytest.mark.parametrize(
+ "server, dry_run, error_pattern",
+ [
+ ("/execution/", False, "Invalid execution API server URL"),
+ ("", False, "Invalid execution API server URL"),
+ ("http://localhost:8080", True, "Can only specify one of"),
+ (None, True, None),
+ ("http://localhost:8080/execution/", False, None),
+ ("https://localhost:8080/execution/", False, None),
+ ],
+ )
+ def test_supervise(
+ self,
+ # mock_mask_secret,
Review Comment:
Chopped now.
--
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]