Skip to content

Commit 5bcfb22

Browse files
committed
test(db): add comprehensive unit tests for executor module
- Test QueryResult creation and serialization - Test QueryValidator for dangerous keywords and injection patterns - Test SafeQueryExecutor execution, timeout, and error handling - Test sanitize_identifier for SQL identifier cleaning - Test all 11 dangerous keywords and 6 injection patterns Coverage: 43 tests for db/executor.py
1 parent 99268fd commit 5bcfb22

1 file changed

Lines changed: 408 additions & 0 deletions

File tree

0 commit comments

Comments
 (0)