Run all agent tests.
()
| 162 | |
| 163 | |
| 164 | async 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 | |
| 186 | if __name__ == "__main__": |
no test coverage detected