============================= test session starts ==============================
platform linux -- Python 3.12.3, pytest-9.2.0, pluggy-1.7.0 -- /root/telegram-saas/.venv/bin/python3
cachedir: .pytest_cache
rootdir: /root/telegram-saas
configfile: pyproject.toml
plugins: anyio-4.16.0, asyncio-1.5.0
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
collecting ... collected 6 items                                                              

tests/unit/test_security_audit.py::test_secure_filename_and_path_traversal_neutralization PASSED [ 16%]
tests/unit/test_security_audit.py::test_validate_file_content_magic_bytes_and_extensions PASSED [ 33%]
tests/unit/test_security_audit.py::test_safe_template_rendering_zero_ssti_and_eval PASSED [ 50%]
tests/unit/test_security_audit.py::test_in_app_rate_limiter_sliding_window PASSED [ 66%]
tests/unit/test_security_audit.py::test_sql_injection_defense_via_parameterized_queries PASSED [ 83%]
tests/unit/test_security_audit.py::test_audit_service_action_logging PASSED [100%]

=============================== warnings summary ===============================
tests/unit/test_security_audit.py:15
  /root/telegram-saas/tests/unit/test_security_audit.py:15: PytestUnknownMarkWarning: Unknown pytest.mark.unit - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.unit

tests/unit/test_security_audit.py:25
  /root/telegram-saas/tests/unit/test_security_audit.py:25: PytestUnknownMarkWarning: Unknown pytest.mark.unit - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.unit

tests/unit/test_security_audit.py:50
  /root/telegram-saas/tests/unit/test_security_audit.py:50: PytestUnknownMarkWarning: Unknown pytest.mark.unit - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.unit

tests/unit/test_security_audit.py:72
  /root/telegram-saas/tests/unit/test_security_audit.py:72: PytestUnknownMarkWarning: Unknown pytest.mark.unit - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.unit

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================== 6 passed, 4 warnings in 0.19s =========================
