def test_parse_remarketing_action_path():
    expected = {
        "customer": "whelk",
        "remarketing_action": "octopus",
    }
    path = RemarketingActionServiceClient.remarketing_action_path(**expected)

    # Check that the path construction is reversible.
    actual = RemarketingActionServiceClient.parse_remarketing_action_path(path)
    assert expected == actual
def test_remarketing_action_path():
    customer = "squid"
    remarketing_action = "clam"
    expected = "customers/{customer}/remarketingActions/{remarketing_action}".format(
        customer=customer,
        remarketing_action=remarketing_action,
    )
    actual = RemarketingActionServiceClient.remarketing_action_path(
        customer, remarketing_action)
    assert expected == actual