def test_valid_model_with_mandatory_fields(self):
        """A test for creating a valid HuggingFaceModelProperties object with only mandatory fields."""
        model = HuggingFaceModelProperties(name="test-model", type="hf", dimensions=768)
        self.assertEqual("test-model", model.name)
        self.assertEqual(128, model.tokens)
        self.assertEqual("hf", model.type)
        self.assertEqual(PoolingMethod.Mean, model.pooling_method)
        self.assertEqual(768, model.dimensions)
        self.assertIsNone(model.url)
        self.assertIsNone(model.model_location)
        self.assertIsNone(model.note)
A test for creating a valid HuggingFaceModelProperties object with only mandatory fields.
tests/integ_tests/core/inference/test_hugging_face_model_properties.py