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)
Ejemplo n.º 2
0
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)
Ejemplo n.º 3
0
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)
Ejemplo n.º 5
0
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)
Ejemplo n.º 6
0
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)
Ejemplo n.º 7
0
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)