Summary
Add focused tests for delete_prefix when keys are already expired or no keys match, including consistency of the TTL and access-order maps.
Scope
- Suggested file:
backend/secuscan/cache.py
- Add or extend the matching backend unit or integration test.
- Keep the change focused on the documented edge case.
Acceptance criteria
Verification
Run the affected pytest file and any directly related suite.
Summary
Add focused tests for delete_prefix when keys are already expired or no keys match, including consistency of the TTL and access-order maps.
Scope
backend/secuscan/cache.pyAcceptance criteria
Verification
Run the affected pytest file and any directly related suite.