def test_cw_log_settings_section_to_file(mocker, section_dict,
                                         expected_config_parser_dict,
                                         expected_message):
    """Verify that the cw_log_settings section is as expected when writing back to a file."""
    utils.assert_section_to_file(mocker, CW_LOG, section_dict,
                                 expected_config_parser_dict, expected_message)
def test_raid_section_to_file(mocker, section_dict,
                              expected_config_parser_dict, expected_message):
    utils.assert_section_to_file(mocker, RAID, section_dict,
                                 expected_config_parser_dict, expected_message)
def test_aliases_section_to_file(mocker, section_dict,
                                 expected_config_parser_dict,
                                 expected_message):
    utils.assert_section_to_file(mocker, ALIASES, section_dict,
                                 expected_config_parser_dict, expected_message)
Example #4
0
def test_fsx_section_to_file(mocker, section_dict, expected_config_parser_dict,
                             expected_message):
    utils.assert_section_to_file(mocker, FSX, section_dict,
                                 expected_config_parser_dict, expected_message)
Example #5
0
def test_queue_section_to_file(mocker, section_dict,
                               expected_config_parser_dict, expected_message):
    utils.assert_section_to_file(mocker, QUEUE, section_dict,
                                 expected_config_parser_dict, expected_message)
def test_cluster_section_to_file(mocker, section_dict, expected_config_parser_dict, expected_message):
    utils.assert_section_to_file(mocker, EFS, section_dict, expected_config_parser_dict, expected_message)
def test_vpc_section_to_file(mocker, section_definition, section_dict,
                             expected_config_parser_dict, expected_message):
    utils.assert_section_to_file(mocker, VPC, section_dict,
                                 expected_config_parser_dict, expected_message)
Example #8
0
def test_scaling_section_to_file(mocker, section_dict,
                                 expected_config_parser_dict,
                                 expected_message):
    utils.assert_section_to_file(mocker, SCALING, section_dict,
                                 expected_config_parser_dict, expected_message)
Example #9
0
def test_global_section_to_file(mocker, section_dict,
                                expected_config_parser_dict, expected_message):
    utils.assert_section_to_file(mocker, GLOBAL, section_dict,
                                 expected_config_parser_dict, expected_message)
Example #10
0
def test_dashboard_settings_section_to_file(mocker, section_dict,
                                            expected_config_parser_dict,
                                            expected_message):
    """Verify that the dashboard_settings section is as expected when writing back to a file."""
    utils.assert_section_to_file(mocker, DASHBOARD, section_dict,
                                 expected_config_parser_dict, expected_message)
def test_compute_resource_section_to_file(mocker, section_dict,
                                          expected_config_parser_dict,
                                          expected_message):
    utils.assert_section_to_file(mocker, COMPUTE_RESOURCE, section_dict,
                                 expected_config_parser_dict, expected_message)