code: def test_reports(mock_server, api):
      path = "test-entity/test-project"
      reports = api.reports(path)
      # calling __len__, __getitem__, or __next__ on a Reports object
      # triggers the actual API call to fetch data w/ pagination.
      length = len(reports)
      assert length == 1
      assert reports[0].description == "test-description"
      assert reports[0].pageCount == 0
      assert reports[1].pageCount == 1
  
file_path: wandb/tests/pytest_tests/unit_tests_old/test_core/test_public_api.py
imports: import os
  import requests
  import wandb
  from wandb.sdk.lib import filesystem
label_desc: Use image node_id 7 for calling a global function with example usage: test_reports(mock_server, api) without return types