Test standalone execution (using main function)
()
| 105 | |
| 106 | |
| 107 | def test_standalone_execution(): |
| 108 | """Test standalone execution (using main function)""" |
| 109 | print("\n" + "="*60) |
| 110 | print("🧪 Test 3: Standalone Execution") |
| 111 | print("="*60) |
| 112 | print("\nTo test standalone execution, run:") |
| 113 | print(" python src/tools/report/report.py \"Your query here\"") |
| 114 | print("\nExample:") |
| 115 | print(" python src/tools/report/report.py \"What is the latest news about Apple?\"") |
| 116 | print("\nNote: This requires environment variables to be set in .env file") |
| 117 | |
| 118 | |
| 119 | async def main(): |