def config_file_toml(tmpdir):
    """Mock config.toml"""
    config_toml = """[gcp]
    [gcp.prod]
        project_id = "mock-project-dl"
        bucket = "mock-project-dl"
        location = "EU"

    [gcp.test]
    project_id = "mock-project-test"
    bucket = "mock-project-test"
    location = "EU"

    [gcp.dev]
    project_id = "mock-project-dev"
    bucket = "mock-project-dev"
    location = "EU"

    [paths]
    cbs = "cbs"
    """
    file = tmpdir.join("config.toml")
    with open(file, "w") as f:
        f.write(config_toml)
    return file