Run all integration tests.
()
| 242 | |
| 243 | |
| 244 | async 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 | |
| 267 | if __name__ == "__main__": |
no test coverage detected