def test_parse_user_list_path():
    expected = {
        "customer_id": "whelk",
        "user_list_id": "octopus",
    }
    path = UserListServiceClient.user_list_path(**expected)

    # Check that the path construction is reversible.
    actual = UserListServiceClient.parse_user_list_path(path)
    assert expected == actual
def test_user_list_path():
    customer_id = "squid"
    user_list_id = "clam"
    expected = "customers/{customer_id}/userLists/{user_list_id}".format(customer_id=customer_id, user_list_id=user_list_id, )
    actual = UserListServiceClient.user_list_path(customer_id, user_list_id)
    assert expected == actual