def test_parse_campaign_label_path():
    expected = {
        "customer": "cuttlefish",
        "campaign_label": "mussel",
    }
    path = CampaignLabelServiceClient.campaign_label_path(**expected)

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