potiuk commented on code in PR #44679:
URL: https://github.com/apache/airflow/pull/44679#discussion_r1872088062
##########
tests/cli/test_cli_parser.py:
##########
@@ -423,7 +423,7 @@ def
test_invalid_choice_raises_for_export_format_in_db_export_archived_command(
assert error_msg == (
"\nairflow db export-archived command error: argument "
f"--export-format: invalid choice: '{export_format}' "
Review Comment:
Maybe:
```
assert "airflow db export-archived command error: argument --export-format:
invalid choice" in error_msg
```
We do not have to test for exact equality
--
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]