code: def test_task_creation_arguments(self):
      dataset = (
          foz.load_zoo_dataset("quickstart", max_samples=4)
          .select_fields("ground_truth")
          .clone()
      )
      user = fo.annotation_config.backends.get("cvat", {})
      user = user.get("username", None)
      users = [user] if user is not None else None
  
      anno_key = "anno_key"
      bug_tracker = "test_tracker"
      task_name = "test_task"
      results = dataset.annotate(
          anno_key,
          backend="cvat",
          label_field="ground_truth",
          task_size=2,
          segment_size=1,
          task_assignee=users,
          job_assignees=users,
          job_reviewers=users,
          issue_tracker=bug_tracker,
          task_name=task_name,
      )
      task_ids = results.task_ids
      with results:
          api = results.connect_to_api()
          self.assertEqual(len(task_ids), 2)
          for idx, task_id in enumerate(task_ids):
              task_json = api.get(api.task_url(task_id)).json()
              self.assertEqual(task_json["bug_tracker"], bug_tracker)
              self.assertEqual(task_json["segment_size"], 1)
              self.assertEqual(
                  task_json["name"], f"{task_name}_{idx + 1}"
              )
              if user is not None:
                  self.assertEqual(
                      task_json["assignee"]["username"], user
                  )
              jobs_json = api.get(api.jobs_url(task_id)).json()
              if "results" in jobs_json:
                  jobs_json = jobs_json["results"]
              for job in jobs_json:
                  job_json = api.get(job["url"]).json()
                  if user is not None:
                      self.assertEqual(
                          job_json["assignee"]["username"], user
                      )
                      if api.server_version == 1:
                          self.assertEqual(
                              job_json["reviewer"]["username"], user
                          )
  
          results.print_status()
          status = results.get_status()
          self.assertEqual(
              status["ground_truth"][task_ids[0]]["assignee"][
                  "username"
              ],
              user,
          )
          dataset.load_annotations(anno_key, cleanup=True)
  
imports: from bson import ObjectId
  from collections import defaultdict
  import numpy
  import os
  import unittest
  import eta.core.utils
  import fiftyone
  import fiftyone.utils.cvat
  import fiftyone.zoo
  from fiftyone.core.expressions import ViewField
label_desc: Use image node_id 4 for calling the CVATTests obj's underlying member method code with example usage: obj.test_task_creation_arguments() without return types