def test_alias_usage(self):
        """Test that aliases are correctly interpreted."""
        config = ModelConfig(
            modelName="test_model_alias",
            modelProperties={"property1": "value1"},
            modelAuth={"hf": {"token": "test_token"}},
            normalizeEmbeddings=False
        )
        self.assertEqual(config.model_name, "test_model_alias")
        self.assertIsInstance(config.model_auth, ModelAuth)
        self.assertEqual(config.model_auth.hf.token, "test_token")
        self.assertFalse(config.normalize_embeddings)
        self.assertEqual(config.model_properties, {"property1": "value1"})
Test that aliases are correctly interpreted.
tests/unit_tests/marqo/core/inference/api/test_inference_model_classes.py