code: def test_records_decision_direction():
      decision_directions = (
          "liberal",
          {"conservative", "unspecifiable"},
      )
      for decision_direction in decision_directions:
          records = list(
              DATASET.records(
                  decision_direction=decision_direction, limit=10
              )
          )
          assert len(records) >= 1
          assert all(
              meta["decision_direction"] in decision_direction
              for text, meta in records
          )
  
file_path: textacy/tests/datasets/test_supreme_court.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.supreme_court import SupremeCourt
label_desc: Use image node_id 8 for calling a global function with example usage: test_records_decision_direction() without return types