mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 20:54:38 +03:00
Check version number and improve error messages (#102)
* Check Qt versions and report 404 error Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -39,6 +39,12 @@ def test_cli_check_combination():
|
||||
assert not cli._check_qt_arg_combination('5.14.0', 'android', 'desktop', 'clang_64')
|
||||
|
||||
|
||||
def test_cli_check_version():
|
||||
cli = aqt.cli.Cli()
|
||||
assert cli._check_qt_arg_versions('5.12.0')
|
||||
assert not cli._check_qt_arg_versions('5.12')
|
||||
|
||||
|
||||
def test_cli_check_mirror():
|
||||
cli = aqt.cli.Cli()
|
||||
assert cli._check_mirror(None)
|
||||
|
||||
Reference in New Issue
Block a user