def test_searchable_attributes_validation_fails(self):
        """Test that searchable_attributes cannot be used in hybrid search."""
        hybrid_parameters = HybridParameters()
        
        with self.assertRaises(ValidationError) as context:
            MarqoHybridQuery(
                index_name="test_index",
                limit=10,
                or_phrases=["phrase1"],
                and_phrases=["phrase2"],
                hybrid_parameters=hybrid_parameters,
                searchable_attributes=["field1", "field2"]
            )
        
        self.assertIn(
            "'searchableAttributes' cannot be used for hybrid search",
            str(context.exception)
        )
Test that searchable_attributes cannot be used in hybrid search.
tests/unit_tests/marqo/core/models/test_marqo_query.py