code: def test_table_csv_cors_headers(app_client_with_cors):
      response = app_client_with_cors.get(
          "/fixtures/simple_primary_key.csv"
      )
      assert response.status == 200
      assert response.headers["Access-Control-Allow-Origin"] == "*"
  
file_path: datasette/tests/test_csv.py
imports: from datasette.app import Datasette
  from bs4 import BeautifulSoup
  import pytest
  from .fixtures import app_client, app_client_csv_max_mb_one, app_client_with_cors, app_client_with_trace
  import urllib.parse
label_desc: Use image node_id 1 for calling a global function with example usage: test_table_csv_cors_headers(app_client_with_cors) without return types