code: def test_options_dataset(client):
      res = client.options("api/datasets")
  
      expected_headers = [
          ("Content-Type", "text/html; charset=utf-8"),
          (
              "Access-Control-Allow-Headers",
              "Content-Type, Authorization",
          ),
          ("Access-Control-Allow-Origin", "*"),
          ("Access-Control-Allow-Credentials", "true"),
      ]
  
      assert set(expected_headers).issubset(set(res.headers.to_list()))
  
file_path: ATM/tests/api/test___init__.py
imports: import json
  import os
  import pytest
  from atm.api import create_app
  from atm.core import ATM
  from atm.database import Database
label_desc: Use image node_id 8 for calling a global function with example usage: test_options_dataset(client) without return types