from pathlib import Path


def get_config_resource_filepath(relative_path):
    """Gets the absolute path of the resource

    :param relative_path: str relative path of the resources at "test/resources/"
    :return: the absolute path of the specified resource
    """
    resources_path = Path(__file__).parent / "../resources/config"
    resource_path = resources_path / relative_path
    return str(resource_path.resolve())