FANNG1 commented on code in PR #8214:
URL: https://github.com/apache/gravitino/pull/8214#discussion_r2290716689
##########
mcp-server/tests/unit/tools/mock_operation.py:
##########
@@ -235,3 +235,23 @@ async def run_job(self, job_template_name: str,
job_config: dict) -> str:
async def cancel_job(self, job_id: str) -> str:
return f"mock_job_cancelled: {job_id}"
+
+
+class MockStatisticOperation(StatisticOperation):
+ async def list_of_statistics(
+ self, metalake_name: str, metadata_type: str, metadata_fullname: str
+ ) -> str:
+ return "mock_statistics"
Review Comment:
Could you add the method argument to the return value? so we could check
argument too.
--
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]