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