waft.framework_unit_tests.test_cli package¶
Submodules¶
- waft.framework_unit_tests.test_cli.test_config module
clean_temp_config()test_add_and_remove_group()test_add_and_remove_proxy()test_add_and_remove_system()test_add_duplicate_system_fails()test_add_system_creates_config_at_path_if_not_exists()test_add_system_missing_fields_fails()test_create_group_with_nonexistent_system_fails()test_operations_on_empty_config_file()test_operations_on_invalid_json_config_file()test_remove_nonexistent_group_fails()test_remove_nonexistent_system_fails()test_show_config_when_file_does_not_exist()test_show_empty_config()test_where_prints_config_location()
- waft.framework_unit_tests.test_cli.test_dashboard_cli module
TestDashboardShowCommandTestDeviceProfileExcludeCommandTestDeviceProfileIncludeCommandTestDeviceProfileListCommandTestParseItemTestReadItemsFromFileTestReadItemsFromFile.test_read_domains_from_file()TestReadItemsFromFile.test_read_file_ignores_comments()TestReadItemsFromFile.test_read_file_ignores_empty_lines()TestReadItemsFromFile.test_read_file_not_found()TestReadItemsFromFile.test_read_file_strips_whitespace()TestReadItemsFromFile.test_read_mixed_items_from_file()
run_cli_command()
- waft.framework_unit_tests.test_cli.test_download_warp module
TestDownloadWarpCLITestDownloadWarpCLI.setup_method()TestDownloadWarpCLI.test_catalog_url_generation_flutter()TestDownloadWarpCLI.test_client_command_direct_version_download()TestDownloadWarpCLI.test_client_command_direct_version_download_with_previous_fails()TestDownloadWarpCLI.test_client_command_download_success()TestDownloadWarpCLI.test_client_command_requires_release_or_version()TestDownloadWarpCLI.test_client_command_uses_secure_subprocess()TestDownloadWarpCLI.test_direct_download_url_generation_flutter()TestDownloadWarpCLI.test_info_command_flutter()TestDownloadWarpCLI.test_info_command_requires_release()TestDownloadWarpCLI.test_info_command_standard()TestDownloadWarpCLI.test_path_generation_uses_flutter_mapping()
TestFlutterAnnotationTestGetDownloadUrls
- waft.framework_unit_tests.test_cli.test_systems_default module
MockContextTestCallbackSystemsRequiredTestDownloadCliWithMissingConfigTestSystemsDefaultResolutionTestSystemsDefaultResolution.test_systems_default_all_with_empty_config()TestSystemsDefaultResolution.test_systems_default_all_with_missing_config()TestSystemsDefaultResolution.test_systems_default_all_with_systems_in_config()TestSystemsDefaultResolution.test_systems_default_local_with_missing_config()TestSystemsDefaultResolution.test_systems_default_none_with_missing_config()
- waft.framework_unit_tests.test_cli.test_vm_cli_e2e module
assert_command_fails()assert_vm_inspect_success()create_test_vm()destroy_test_vm()get_config_json()get_systems_dict()normalize_output()run_cli_command()test_vm_auto_generated_system_name_collision_detection()test_vm_full_lifecycle_with_config_tracking()test_vm_images_command()test_vm_invalid_vm_spec_fails_fast()test_vm_negative_scenarios()waft_env()
- waft.framework_unit_tests.test_cli.test_vm_cli_unit module