def test_parse_bidding_strategy_path():
    expected = {
        "customer": "whelk",
        "bidding_strategy": "octopus",
    }
    path = CampaignServiceClient.bidding_strategy_path(**expected)

    # Check that the path construction is reversible.
    actual = CampaignServiceClient.parse_bidding_strategy_path(path)
    assert expected == actual
def test_bidding_strategy_path():
    customer = "squid"
    bidding_strategy = "clam"
    expected = "customers/{customer}/biddingStrategies/{bidding_strategy}".format(
        customer=customer,
        bidding_strategy=bidding_strategy,
    )
    actual = CampaignServiceClient.bidding_strategy_path(
        customer, bidding_strategy)
    assert expected == actual