Check if test dependencies are installed.
()
| 31 | return False |
| 32 | |
| 33 | def check_dependencies(): |
| 34 | """Check if test dependencies are installed.""" |
| 35 | try: |
| 36 | import pytest |
| 37 | import pytest_asyncio |
| 38 | import pytest_mock |
| 39 | import pytest_cov |
| 40 | return True |
| 41 | except ImportError as e: |
| 42 | print(f"❌ Missing test dependency: {e}") |
| 43 | print("💡 Install test dependencies with: pip install -r requirements-test.txt") |
| 44 | return False |
| 45 | |
| 46 | def main(): |
| 47 | parser = argparse.ArgumentParser(description="MetasploitMCP Test Runner") |