code: def test_multiple_encodings(args, kwargs):
      df = pd.DataFrame({"value": [1, 2, 3], "name": ["A", "B", "C"]})
      encoding_dct = [
          {"field": "value", "type": "quantitative"},
          {"field": "name", "type": "nominal"},
      ]
      chart = alt.Chart(df).mark_point().encode(*args, **kwargs)
      dct = chart.to_dict()
      assert dct["encoding"]["detail"] == encoding_dct
      assert dct["encoding"]["tooltip"] == encoding_dct
  
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 6 for calling a global function with example usage: test_multiple_encodings(args, kwargs) without return types