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

Function main

tests/test_agent.py:164–183  ·  view source on GitHub ↗

Run all agent tests.

()

Source from the content-addressed store, hash-verified

162
163
164async def main():
165 """Run all agent tests."""
166 print("=" * 80)
167 print("Running Agent Integration Tests")
168 print("=" * 80)
169 print("\nNote: These tests require a valid MiniMax API key in config.yaml")
170 print("These tests will actually call the LLM API and may take some time.\n")
171
172 # Test simple file task
173 result1 = await test_agent_simple_task()
174
175 # Test bash task
176 result2 = await test_agent_bash_task()
177
178 print("\n" + "=" * 80)
179 if result1 and result2:
180 print("All Agent tests passed! ✅")
181 else:
182 print("Some Agent tests failed. Check the output above.")
183 print("=" * 80)
184
185
186if __name__ == "__main__":

Callers 1

test_agent.pyFile · 0.70

Calls 2

test_agent_simple_taskFunction · 0.85
test_agent_bash_taskFunction · 0.85

Tested by

no test coverage detected