SameerMesiah97 commented on code in PR #70930:
URL: https://github.com/apache/airflow/pull/70930#discussion_r4200474892
##########
providers/snowflake/tests/unit/snowflake/operators/test_snowflake_cortex_agent.py:
##########
@@ -104,3 +108,173 @@ def test_template_fields(self):
"messages",
"snowflake_conn_id",
)
+
+
+class TestSnowflakeCortexAgentCreateOperator:
+ @mock.patch(
+
"airflow.providers.snowflake.operators.snowflake_cortex_agent.SnowflakeCortexAgentHook.create_agent"
Review Comment:
1) autospec has been added to all of the relevant patches
2) default values are now omitted as parameter arguments and the actual
default values are now being asserted in each test
3) test_template field tests have been removed.
--
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]