def test_parse_campaign_budget_path():
    expected = {
        "customer_id": "whelk",
        "campaign_budget_id": "octopus",
    }
    path = CampaignBudgetServiceClient.campaign_budget_path(**expected)

    # Check that the path construction is reversible.
    actual = CampaignBudgetServiceClient.parse_campaign_budget_path(path)
    assert expected == actual
def test_campaign_budget_path():
    customer_id = "squid"
    campaign_budget_id = "clam"
    expected = "customers/{customer_id}/campaignBudgets/{campaign_budget_id}".format(
        customer_id=customer_id,
        campaign_budget_id=campaign_budget_id,
    )
    actual = CampaignBudgetServiceClient.campaign_budget_path(
        customer_id, campaign_budget_id)
    assert expected == actual