MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / main

Function main

tests/test_integration.py:244–264  ·  view source on GitHub ↗

Run all integration tests.

()

Source from the content-addressed store, hash-verified

242
243
244async def main():
245 """Run all integration tests."""
246 print("=" * 80)
247 print("Running Integration Tests")
248 print("=" * 80)
249 print("\nNote: These tests require a valid MiniMax API key in config.yaml")
250 print("These tests will actually call the LLM API and may take some time.\n")
251
252 try:
253 await test_basic_agent_usage()
254 except Exception as e:
255 print(f"❌ Basic usage test failed: {e}")
256
257 try:
258 await test_session_memory_demo()
259 except Exception as e:
260 print(f"❌ Session memory test failed: {e}")
261
262 print("\n" + "=" * 80)
263 print("Integration tests completed!")
264 print("=" * 80)
265
266
267if __name__ == "__main__":

Callers 1

Calls 2

test_basic_agent_usageFunction · 0.85
test_session_memory_demoFunction · 0.85

Tested by

no test coverage detected