test_system_auth.py 239 B

1234567
  1. from pathlib import Path
  2. def test_system_auth_imports_psycopg2_pool_submodule():
  3. auth_path = Path(__file__).resolve().parents[1] / "app/core/system/auth.py"
  4. assert "import psycopg2.pool" in auth_path.read_text(encoding="utf-8")