def test_ad_group_label_path():
    customer = "oyster"
    ad_group_label = "nudibranch"
    expected = "customers/{customer}/adGroupLabels/{ad_group_label}".format(
        customer=customer,
        ad_group_label=ad_group_label,
    )
    actual = AdGroupServiceClient.ad_group_label_path(customer, ad_group_label)
    assert expected == actual
def test_parse_ad_group_label_path():
    expected = {
        "customer": "cuttlefish",
        "ad_group_label": "mussel",
    }
    path = AdGroupServiceClient.ad_group_label_path(**expected)

    # Check that the path construction is reversible.
    actual = AdGroupServiceClient.parse_ad_group_label_path(path)
    assert expected == actual