def test_parse_campaign_label_path():
    expected = {
        "customer": "whelk",
        "campaign_label": "octopus",
    }
    path = CampaignServiceClient.campaign_label_path(**expected)

    # Check that the path construction is reversible.
    actual = CampaignServiceClient.parse_campaign_label_path(path)
    assert expected == actual
def test_campaign_label_path():
    customer = "squid"
    campaign_label = "clam"
    expected = "customers/{customer}/campaignLabels/{campaign_label}".format(
        customer=customer,
        campaign_label=campaign_label,
    )
    actual = CampaignServiceClient.campaign_label_path(customer,
                                                       campaign_label)
    assert expected == actual