def test_parse_user_list_path():
    expected = {
        "customer": "squid",
        "user_list": "clam",
    }
    path = ClickViewServiceClient.user_list_path(**expected)

    # Check that the path construction is reversible.
    actual = ClickViewServiceClient.parse_user_list_path(path)
    assert expected == actual
def test_user_list_path():
    customer = "scallop"
    user_list = "abalone"
    expected = "customers/{customer}/userLists/{user_list}".format(customer=customer, user_list=user_list, )
    actual = ClickViewServiceClient.user_list_path(customer, user_list)
    assert expected == actual