mchades commented on code in PR #13804:
URL: https://github.com/apache/gravitino/pull/13804#discussion_r4257390401


##########
mcp-server/tests/unit/tools/mock_operation.py:
##########
@@ -73,6 +76,9 @@ def as_partition_operation(self) -> PartitionOperation:
     def as_view_operation(self) -> ViewOperation:
         return MockViewOperation()
 
+    def as_semantic_model_operation(self) -> SemanticModelOperation:
+        return AsyncMock(spec=SemanticModelOperation)

Review Comment:
   Replaced `AsyncMock` with `MockSemanticModelOperation` returning 
deterministic JSON strings, and added coverage for all five tools through 
`MockOperation`.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to