def test_parse_feed_path():
    expected = {
        "customer": "scallop",
        "feed": "abalone",
    }
    path = CampaignFeedServiceClient.feed_path(**expected)

    # Check that the path construction is reversible.
    actual = CampaignFeedServiceClient.parse_feed_path(path)
    assert expected == actual
def test_feed_path():
    customer = "winkle"
    feed = "nautilus"
    expected = "customers/{customer}/feeds/{feed}".format(customer=customer, feed=feed, )
    actual = CampaignFeedServiceClient.feed_path(customer, feed)
    assert expected == actual