async def METHOD_NAME(data_path: str, default_config):
    """Test if the inventory is loaded correctly
    Args:
        data_path (str): file containing result and hosts
    """
    config = default_config
    config['hosts'] = read_yaml_file(data_path['hosts'])
    src = SqNativeFile(config.copy(), validate=True)
    assert src.name == config['name']
    cur_inv = await asyncio.wait_for(src.get_inventory(), 5)
    assert cur_inv == read_yaml_file(data_path['results'])