code: def test_preset_requests(self):
      data = {"processor": self.processor_url, "parameters": "{}"}
  
      preset = self.client.post(
          "api/presets/", data=data, format="json"
      )
      self.assertEqual(preset.status_code, 201)
  
      # retrieve
      preset = self.client.get(preset.data["url"], format="json")
      self.assertEqual(preset.status_code, 200)
  
      # list_presets
      list_preset = self.client.get("api/presets/", format="json")
      self.assertEqual(len(list_preset.data), Preset.objects.count())
  
      # update
      data = {"processor": self.processor2_url, "parameters": "{}"}
      preset = self.client.put(preset.data["url"], data)
      self.assertEqual(preset.status_code, 200)
      self.assertEqual(
          preset.data["processor"][-38:], self.processor2_url[-38:]
      )
  
      # delete preset
      self.delete_test(preset)
  
imports: from timeside.server.models import *
  from timeside.server.tests.timeside_test_server import TimeSideTestServer
  from django.contrib.auth.models import User
label_desc: Use image node_id 1 for calling the TestPresetRequests obj's underlying member method code with example usage: obj.test_preset_requests() without return types