code: def test_records_chamber():
      chambers = ({"House"}, {"House", "Senate"})
      for chamber in chambers:
          records = list(DATASET.records(chamber=chamber, limit=10))
          assert len(records) >= 1
          assert all(
              meta["chamber"] in chamber 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 9 for calling a global function with example usage: test_records_chamber() without return types