def test_smart_campaign_setting_path():
    customer_id = "oyster"
    campaign_id = "nudibranch"
    expected = "customers/{customer_id}/smartCampaignSettings/{campaign_id}".format(
        customer_id=customer_id,
        campaign_id=campaign_id,
    )
    actual = SmartCampaignSettingServiceClient.smart_campaign_setting_path(
        customer_id, campaign_id)
    assert expected == actual
def test_parse_smart_campaign_setting_path():
    expected = {
        "customer_id": "cuttlefish",
        "campaign_id": "mussel",
    }
    path = SmartCampaignSettingServiceClient.smart_campaign_setting_path(
        **expected)

    # Check that the path construction is reversible.
    actual = SmartCampaignSettingServiceClient.parse_smart_campaign_setting_path(
        path)
    assert expected == actual