def test_cw_log_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): """Verify that cw_log behaves as expected when parsed in a config file.""" utils.assert_section_from_file(mocker, CW_LOG, config_parser_dict, expected_dict_params, expected_message)
def test_raid_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): utils.assert_section_from_file(mocker, RAID, config_parser_dict, expected_dict_params, expected_message)
def test_fsx_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): utils.assert_section_from_file(mocker, FSX, config_parser_dict, expected_dict_params, expected_message)
def test_aliases_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): utils.assert_section_from_file(mocker, ALIASES, config_parser_dict, expected_dict_params, expected_message)
def test_scaling_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): utils.assert_section_from_file(mocker, SCALING, config_parser_dict, expected_dict_params, expected_message)
def test_global_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): utils.assert_section_from_file(mocker, GLOBAL, config_parser_dict, expected_dict_params, expected_message)
def test_dashboard_section_from_file(mocker, config_parser_dict, expected_dict_params, expected_message): """Verify that dashboard behaves as expected when parsed in a config file.""" utils.assert_section_from_file(mocker, DASHBOARD, config_parser_dict, expected_dict_params, expected_message)