code: def test_model_fit(self):
      self.model.fit()
      fitting = lore.metadata.Fitting.last()
      self.assertEqual(fitting.id, self.model.fitting.id)
      self.assertEqual(fitting.model, self.model.name)
      self.assertEqual(fitting.id, self.model.last_fitting().id)
  
file_path: lore/tests/unit/test_metadata.py
imports: import unittest
  import tests.mocks.models_other
  import lore.metadata
  import datetime
label_desc: Use image node_id 2 for calling the TestFitting obj's underlying member method code with example usage: obj.test_model_fit() without return types