code: def test_task_init(self):
      from clearml import Task
  
      Task.set_offline(offline_mode=True)
      from parlai.core.logs import ClearMLLogger
  
      opt = {}
      try:
          self.clearml_callback = ClearMLLogger(opt)
      except Exception as exc:
          self.clearml_callback = None
          self.fail(exc)
  
      self.assertEqual(Task.current_task()._project_name[1], "ParlAI")
  
imports: import unittest
  import parlai.utils.testing
label_desc: Use image node_id 1 for calling the TestClearMLLogger obj's underlying member method code with example usage: obj.test_task_init() without return types