mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
fix expected error message in test cases
This commit is contained in:
@@ -340,7 +340,7 @@ def test_cli_unexpected_error(monkeypatch, capsys):
|
|||||||
assert err.rstrip().endswith(
|
assert err.rstrip().endswith(
|
||||||
"===========================PLEASE FILE A BUG REPORT===========================\n"
|
"===========================PLEASE FILE A BUG REPORT===========================\n"
|
||||||
"You have discovered a bug in aqt.\n"
|
"You have discovered a bug in aqt.\n"
|
||||||
"Please file a bug report at https://github.com/miurahr/aqtinstall/issues.\n"
|
"Please file a bug report at https://github.com/miurahr/aqtinstall/issues\n"
|
||||||
"Please remember to include a copy of this program's output in your report."
|
"Please remember to include a copy of this program's output in your report."
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1022,7 +1022,7 @@ def test_install_nonexistent_archives(monkeypatch, capsys, cmd, xml_file: Option
|
|||||||
"../aqt/settings.ini",
|
"../aqt/settings.ini",
|
||||||
"===========================PLEASE FILE A BUG REPORT===========================\n"
|
"===========================PLEASE FILE A BUG REPORT===========================\n"
|
||||||
"You have discovered a bug in aqt.\n"
|
"You have discovered a bug in aqt.\n"
|
||||||
"Please file a bug report at https://github.com/miurahr/aqtinstall/issues.\n"
|
"Please file a bug report at https://github.com/miurahr/aqtinstall/issues\n"
|
||||||
"Please remember to include a copy of this program's output in your report.",
|
"Please remember to include a copy of this program's output in your report.",
|
||||||
Cli.UNHANDLED_EXCEPTION_CODE,
|
Cli.UNHANDLED_EXCEPTION_CODE,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user