Skip to content

Commit 47f099a

Browse files
committed
style(tests): reorder imports in test_security
Reorder imports in test_security.py to follow standard ordering: - Standard library imports first (datetime) - Third-party imports next (pytest, jose) - Local imports last (app modules) Auto-fixed by ruff linter.
1 parent 23ca2aa commit 47f099a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

tests/unit/test_security.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,20 @@
99
- Rate limiting utilities
1010
"""
1111

12-
import pytest
1312
from datetime import timedelta
13+
14+
import pytest
1415
from jose import jwt
1516

1617
from app.config import get_settings
1718
from app.security import (
19+
check_query_against_whitelist,
1820
create_access_token,
1921
sanitize_input,
2022
scan_for_injection_patterns,
2123
validate_database_id,
2224
validate_natural_language_query,
2325
validate_sql_query,
24-
check_query_against_whitelist,
2526
verify_api_key,
2627
)
2728

0 commit comments

Comments
 (0)