code: def test_duration_structure(self):
      instance = self.model_class.objects.get(
          experiment_id=self.experiment1.experiment_id
      )
      self.assertTrue(isinstance(instance.durations, dict))
  
      dkey = next(iter(instance.durations["duration"]))
      self.assertTrue(instance.durations["duration"])
      self.assertTrue(isinstance(instance.durations["duration"], dict))
      self.assertTrue(
          isinstance(instance.durations["duration"][dkey], list)
      )
  
      self.assertTrue(instance.durations["tag_list"])
      self.assertTrue(isinstance(instance.durations["tag_list"], list))
  
      self.assertEqual(
          len(instance.durations["tag_list"]),
          len(instance.durations["duration"].keys()),
      )
  
file_path: modelchimp/modelchimp/tests/models/test_experiment_model.py
imports: from modelchimp.tests import BaseTest
  from modelchimp.factories.factory_experiment import ExperimentFactory
  from modelchimp.models.experiment import Experiment
label_desc: Use image node_id 8 for calling the ExperimentModelTest obj's underlying member method code with example usage: obj.test_duration_structure() without return types