def test_parse_ad_group_ad_path():
    expected = {
        "customer": "whelk",
        "ad_group_ad": "octopus",
    }
    path = ClickViewServiceClient.ad_group_ad_path(**expected)

    # Check that the path construction is reversible.
    actual = ClickViewServiceClient.parse_ad_group_ad_path(path)
    assert expected == actual
def test_ad_group_ad_path():
    customer = "squid"
    ad_group_ad = "clam"
    expected = "customers/{customer}/adGroupAds/{ad_group_ad}".format(customer=customer, ad_group_ad=ad_group_ad, )
    actual = ClickViewServiceClient.ad_group_ad_path(customer, ad_group_ad)
    assert expected == actual