code: def test_pending_jobs(client: TestClient) -> None:
      response = client.request("get", "/pending-jobs")
      assert response.status_code == 200
      json = response.json()
      for processing_step in processing_graph.get_processing_steps():
          assert json[processing_step.job_type] == {
              "waiting": [],
              "started": [],
          }
  
file_path: datasets-server/services/admin/tests/test_app.py
imports: from typing import Optional
  import pytest
  from libcommon.processing_graph import processing_graph
  from starlette.testclient import TestClient
  from admin.app import create_app
label_desc: Use image node_id 5 for calling a global function with example usage: test_pending_jobs(client) without return types