def test_parse_income_range_view_path():
    expected = {
        "customer": "whelk",
        "income_range_view": "octopus",
    }
    path = IncomeRangeViewServiceClient.income_range_view_path(**expected)

    # Check that the path construction is reversible.
    actual = IncomeRangeViewServiceClient.parse_income_range_view_path(path)
    assert expected == actual
def test_income_range_view_path():
    customer = "squid"
    income_range_view = "clam"
    expected = "customers/{customer}/incomeRangeViews/{income_range_view}".format(
        customer=customer,
        income_range_view=income_range_view,
    )
    actual = IncomeRangeViewServiceClient.income_range_view_path(
        customer, income_range_view)
    assert expected == actual