Tests were importing the production engine and dropping all tables on
teardown, corrupting topology.db in the Docker volume. Set DATABASE_URL
to sqlite:///:memory: before any import in the test file, and use
StaticPool in database.py when running against :memory: so all
connections share the same in-memory database.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add MAX_PING_IPS=4096 constant and validate list size in PingRequest
before spawning futures, returning 422 on overflow
- Add test_ping_too_many_ips_rejected to cover the new cap
- Pin httpx<0.28 in requirements-test.txt (0.28 broke TestClient API)
- Fix reset_db fixture to set a known admin password regardless of
INITIAL_ADMIN_PASSWORD env var (was causing 401 on all auth tests)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Application web d'inventaire réseau manuel avec FastAPI, Vue 3 et Docker.
Inclut l'authentification JWT, la découverte ICMP, et la topologie en cards CSS.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>