phanikumv commented on code in PR #32339:
URL: https://github.com/apache/airflow/pull/32339#discussion_r1255495506


##########
tests/cli/commands/test_connection_command.py:
##########
@@ -167,9 +168,7 @@ def 
test_cli_connections_export_should_raise_error_if_fetching_connections_fails
         def my_side_effect(_):
             raise Exception("dummy exception")
 
-        
mock_session.return_value.__enter__.return_value.query.return_value.order_by.side_effect
 = (
-            my_side_effect
-        )
+        mock_session.return_value.__enter__.return_value.scalars.side_effect = 
my_side_effect

Review Comment:
   so you mean we should retain `session.query` everywhere else



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