mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
Test nonspecific OSError
This commit is contained in:
@@ -1208,6 +1208,15 @@ def test_install_nonexistent_archives(monkeypatch, capsys, cmd, xml_file: Option
|
|||||||
"* Check size requirements for installation.",
|
"* Check size requirements for installation.",
|
||||||
1,
|
1,
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
OSError(),
|
||||||
|
"../aqt/settings.ini",
|
||||||
|
"===========================PLEASE FILE A BUG REPORT===========================\n"
|
||||||
|
"You have discovered a bug in aqt.\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.",
|
||||||
|
Cli.UNHANDLED_EXCEPTION_CODE,
|
||||||
|
),
|
||||||
(
|
(
|
||||||
PermissionError(),
|
PermissionError(),
|
||||||
"../aqt/settings.ini",
|
"../aqt/settings.ini",
|
||||||
|
|||||||
Reference in New Issue
Block a user