def test_sp_sep_list_deserializer(): vals = sp_sep_list_deserializer("foo bar zen") assert len(vals) == 3 assert _eq(vals, ["foo", "bar", "zen"]) vals = sp_sep_list_deserializer(["foo bar zen"]) assert len(vals) == 3 assert _eq(vals, ["foo", "bar", "zen"])