code: def test_subprocessor_requests(self):
      # listSubProcessors
      list_subprocessors = self.client.get(
          "/api/subprocessors/", format="json"
      )
      self.assertEqual(list_subprocessors.status_code, 200)
      self.assertEqual(
          len(list_subprocessors.data), SubProcessor.objects.count()
      )
  
      # retrieveSubProcessor
      processor = self.client.get(
          list_subprocessors.data[0]["url"], format="json"
      )
      self.assertEqual(processor.status_code, 200)
  
imports: from timeside.server.models import *
  from timeside.server.tests.timeside_test_server import TimeSideTestServer
label_desc: Use image node_id 1 for calling the TestAnalysisRequests obj's underlying member method code with example usage: obj.test_subprocessor_requests() without return types