code: def test_facet_parse():
      chart = (
          alt.Chart("data.csv")
          .mark_point()
          .encode(x="x:Q", y="y:Q")
          .facet(row="row:N", column="column:O")
      )
      dct = chart.to_dict()
      assert dct["data"] == {"url": "data.csv"}
      assert "data" not in dct["spec"]
      assert dct["facet"] == {
          "column": {"field": "column", "type": "ordinal"},
          "row": {"field": "row", "type": "nominal"},
      }
  
imports: import io
  import json
  import operator
  import os
  import pathlib
  import tempfile
  import jsonschema
  import pytest
  import pandas
  import altair.vegalite.v5
label_desc: Use image node_id 14 for calling a global function with example usage: test_facet_parse() without return types