code: def test_records_congress():
      congresses = ({104}, {104, 114})
      for congress in congresses:
          records = list(DATASET.records(congress=congress, limit=10))
          assert len(records) >= 1
          assert all(
              meta["congress"] in congress for text, meta in records
          )
  
file_path: textacy/tests/datasets/test_capitol_words.py
imports: import datetime
  import os
  import pytest
  from textacy.datasets.capitol_words import CapitolWords
label_desc: Use image node_id 10 for calling a global function with example usage: test_records_congress() without return types