Files
HarborForge.Backend.Test/tests
zhi ed21b73a43 Add monitor API tests (B8)
- test_monitor.py: 12 test cases covering:
  - API key generation (success, 404, admin-only)
  - heartbeat-v2 endpoint (valid key, invalid key, missing key)
  - API key revocation and validation
  - ServerState data persistence (agents_json, cpu_pct, etc.)
  - Disabled server rejection
- conftest.py: import app.models.monitor for test database setup

All tests passing (pytest -v).
2026-03-19 19:39:15 +00:00
..
2026-03-19 19:39:15 +00:00
2026-03-19 19:39:15 +00:00