hussein-awala commented on code in PR #30310:
URL: https://github.com/apache/airflow/pull/30310#discussion_r1166036989


##########
tests/providers/docker/operators/test_docker.py:
##########
@@ -65,6 +66,7 @@ def test_hook_usage(docker_hook_patcher, docker_conn_id, 
tls_params: dict):
         "ca_cert": tls_params.get("tls_ca_cert"),
         "client_cert": tls_params.get("tls_client_cert"),
         "client_key": tls_params.get("tls_client_key"),
+        "verify": tls_params.get("tls_verify") or True,

Review Comment:
   if `tls_params.get("tls_verify")` is False, it will be replaced by True too, 
instead you can add a default value for the method `get`:
   ```suggestion
           "verify": tls_params.get("tls_verify", True),
   ```



-- 
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: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to