mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
Test: update to catch refactoring
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -15,7 +15,7 @@ def test_cli_unknown_version(capsys):
|
||||
" Server response code: 404, reason code: Not Found".format(wrong_url)
|
||||
]
|
||||
with pytest.raises(SystemExit) as pytest_wrapped_e:
|
||||
cli = aqt.cli.Cli()
|
||||
cli = aqt.installer.Cli()
|
||||
cli.run(["install", wrong_version, "mac", "desktop"])
|
||||
assert pytest_wrapped_e.type == SystemExit
|
||||
assert pytest_wrapped_e.value.code == 1
|
||||
|
||||
Reference in New Issue
Block a user