uranusjr commented on code in PR #59630:
URL: https://github.com/apache/airflow/pull/59630#discussion_r2639056832
##########
airflow-core/tests/unit/cli/commands/test_team_command.py:
##########
@@ -326,7 +327,7 @@ def test_team_delete_with_confirmation_invalid(self,
mock_input, stdout_capture)
team_command.team_delete(self.parser.parse_args(["teams",
"delete", "confirm-invalid"]))
# Verify team was NOT deleted (invalid input treated as No)
- team = self.session.query(Team).filter(Team.name ==
"confirm-invalid").first()
+ team = self.session.execute(select(Team).where(Team.name ==
"confirm-invalid")).scalars().first()
Review Comment:
Same here too (there are a few more above too)
--
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]