mirror of
https://github.com/miurahr/aqtinstall.git
synced 2025-12-17 04:34:37 +03:00
fix: remove logic to check combination
Signed-off-by: Hiroshi Miura <miurahr@linux.com>
This commit is contained in:
@@ -73,20 +73,6 @@ def test_cli_select_unexpected_modules(qt_version: str, modules: Optional[List[s
|
||||
assert cli._select_unexpected_modules(nonexistent_qt, modules) == sorted(modules or [])
|
||||
|
||||
|
||||
def test_cli_check_combination():
|
||||
cli = Cli()
|
||||
cli._setup_settings()
|
||||
assert cli._check_qt_arg_combination("5.11.3", "linux", "desktop", "gcc_64")
|
||||
assert cli._check_qt_arg_combination("5.11.3", "mac", "desktop", "clang_64")
|
||||
assert not cli._check_qt_arg_combination("5.14.0", "android", "desktop", "clang_64")
|
||||
|
||||
|
||||
def test_cli_check_version():
|
||||
cli = Cli()
|
||||
cli._setup_settings()
|
||||
assert cli._check_qt_arg_versions("5.12.0")
|
||||
assert not cli._check_qt_arg_versions("5.12")
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
"host, target, arch, version_or_spec, expected_version, is_bad_spec",
|
||||
|
||||
Reference in New Issue
Block a user