code: def test_schema_from_csv_good_schema1(spark):
      expected_schema = StructType(
          [
              StructField(
                  "person",
                  StringType(),
                  False,
                  {"description": "The person's name"},
              ),
              StructField("address", StringType(), True),
              StructField(
                  "phoneNumber",
                  StringType(),
                  True,
                  {"description": "The person's phone number"},
              ),
              StructField("age", IntegerType(), False),
          ]
      )
      path = "tests/test_files/good_schema1.csv"
      assert_basic_schema_equality(
          expected_schema, schema_from_csv(spark, path)
      )
  
file_path: quinn/tests/test_schema_helpers.py
imports: from __future__ import annotations
  from pyspark.sql.types import StructType, IntegerType, DecimalType, ArrayType, FloatType, MapType, StringType, DoubleType, TimestampType, StructField
  import pyspark.sql.dataframe
  from quinn.schema_helpers import print_schema_as_code, schema_from_csv, complex_fields
  from chispa.schema_comparer import assert_basic_schema_equality
  import pytest
  from tests.conftest import auto_inject_fixtures
label_desc: Use image node_id 2 for calling a global function with example usage: test_schema_from_csv_good_schema1(spark) without return types