============================= test session starts =============================
platform win32 -- Python 3.14.0, pytest-9.0.3, pluggy-1.6.0 -- C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Scripts\python.exe
cachedir: .pytest_cache
rootdir: C:\Users\ericm\OneDrive\Documentos\code\pwnproxy
configfile: pyproject.toml
plugins: anyio-4.13.0, asyncio-1.3.0
asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collecting ... collected 46 items

tests/api/test_findings.py::TestFindings::test_get_sqli_findings PASSED  [  2%]
tests/api/test_findings.py::TestFindings::test_get_unknown_scanner PASSED [  4%]
tests/api/test_findings.py::TestFindings::test_list_all_findings PASSED  [  6%]
tests/api/test_flows.py::TestFlows::test_list_flows PASSED               [  8%]
tests/api/test_flows.py::TestFlows::test_get_flow_by_id PASSED           [ 10%]
tests/api/test_flows.py::TestFlows::test_get_flow_not_found PASSED       [ 13%]
tests/api/test_health.py::TestHealth::test_health_returns_200 PASSED     [ 15%]
tests/api/test_health.py::TestHealth::test_health_response_shape PASSED  [ 17%]
tests/api/test_health.py::TestHealth::test_health_checks_has_all_keys PASSED [ 19%]
tests/api/test_health.py::TestHealth::test_health_api_is_ok PASSED       [ 21%]
tests/api/test_health.py::TestHealth::test_health_version_present PASSED [ 23%]
tests/api/test_health.py::TestHealth::test_health_proxy_down_when_not_running PASSED [ 26%]
tests/api/test_interceptor.py::TestInterceptor::test_get_status PASSED   [ 28%]
tests/api/test_interceptor.py::TestInterceptor::test_toggle PASSED       [ 30%]
tests/api/test_intruder.py::TestIntruder::test_run_sniper PASSED         [ 32%]
tests/api/test_intruder.py::TestIntruder::test_no_markers_error PASSED   [ 34%]
tests/api/test_proxy.py::TestProxyToggle::test_toggle_capture_enabled PASSED [ 36%]
tests/api/test_repeater.py::TestRepeater::test_send_request PASSED       [ 39%]
tests/api/test_scanners.py::TestScannerTrigger::test_trigger_valid_scanner PASSED [ 41%]
tests/api/test_scanners.py::TestScannerTrigger::test_trigger_unknown_scanner PASSED [ 43%]
tests/api/test_scanners.py::TestScannerTrigger::test_trigger_nonexistent_flow PASSED [ 45%]
tests/api/test_session.py::TestTokens::test_list_tokens PASSED           [ 47%]
tests/api/test_session.py::TestTokens::test_filter_by_type PASSED        [ 50%]
tests/api/test_session.py::TestTokens::test_get_by_id PASSED             [ 52%]
tests/api/test_session.py::TestTokens::test_get_not_found PASSED         [ 54%]
tests/api/test_session.py::TestTokens::test_delete PASSED                [ 56%]
tests/api/test_session.py::TestTokens::test_delete_not_found PASSED      [ 58%]
tests/api/test_session_isolation.py::TestProxyProcessArgs::test_start_without_db_or_scope PASSED [ 60%]
tests/api/test_session_isolation.py::TestProxyProcessArgs::test_start_with_db_path PASSED [ 63%]
tests/api/test_session_isolation.py::TestProxyProcessArgs::test_start_with_scope_patterns PASSED [ 65%]
tests/api/test_session_isolation.py::TestProxyProcessArgs::test_restart_forwards_db_and_scope PASSED [ 67%]
tests/api/test_session_isolation.py::TestSessionManagerApplyProxyConfig::test_does_not_auto_start_proxy PASSED [ 69%]
tests/api/test_session_isolation.py::TestSessionManagerApplyProxyConfig::test_skips_when_no_proxy_engine PASSED [ 71%]
tests/api/test_session_isolation.py::TestSessionAtoBIsolation::test_session_a_and_b_have_separate_databases PASSED [ 73%]
tests/api/test_session_isolation.py::TestSessionAtoBIsolation::test_switch_back_to_a_preserves_original_flows PASSED [ 76%]
tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope PASSED [ 78%]
tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_blocks_out_of_scope PASSED [ 80%]
tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_when_disabled PASSED [ 82%]
tests/api/test_sessions.py::TestSessionList::test_lists_sessions PASSED  [ 84%]
tests/api/test_sessions.py::TestSessionList::test_includes_metadata PASSED [ 86%]
tests/api/test_sessions.py::TestSessionList::test_db_sizes PASSED        [ 89%]
tests/api/test_sessions.py::TestSessionList::test_last_active_flag PASSED [ 91%]
tests/api/test_traffic.py::TestTraffic::test_list_flows PASSED           [ 93%]
tests/api/test_traffic.py::TestTraffic::test_get_flow_by_id PASSED       [ 95%]
tests/api/test_traffic.py::TestTraffic::test_get_flow_not_found PASSED   [ 97%]
tests/api/test_ws.py::test_websocket_receives_events PASSED              [100%]

============================== warnings summary ===============================
tests/api/test_findings.py::TestFindings::test_get_sqli_findings
tests/api/test_findings.py::TestFindings::test_get_unknown_scanner
tests/api/test_findings.py::TestFindings::test_list_all_findings
  C:\Users\ericm\OneDrive\Documentos\code\pwnproxy\tests\api\test_findings.py:45: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    ), {"ts": datetime.utcnow()})

tests/api/test_findings.py::TestFindings::test_get_sqli_findings
tests/api/test_findings.py::TestFindings::test_get_unknown_scanner
tests/api/test_findings.py::TestFindings::test_list_all_findings
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\aiosqlite\core.py:63: DeprecationWarning: The default datetime adapter is deprecated as of Python 3.12; see the sqlite3 documentation for suggested replacement recipes
    result = function()

tests/api/test_flows.py::TestFlows::test_list_flows
tests/api/test_flows.py::TestFlows::test_get_flow_by_id
tests/api/test_flows.py::TestFlows::test_get_flow_not_found
  C:\Users\ericm\OneDrive\Documentos\code\pwnproxy\tests\api\test_flows.py:52: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    timestamp=datetime.utcnow(),

tests/api/test_flows.py::TestFlows::test_list_flows
tests/api/test_flows.py::TestFlows::test_get_flow_by_id
tests/api/test_flows.py::TestFlows::test_get_flow_not_found
  C:\Users\ericm\OneDrive\Documentos\code\pwnproxy\tests\api\test_flows.py:59: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    timestamp=datetime.utcnow(),

tests/api/test_scanners.py::TestScannerTrigger::test_trigger_valid_scanner
tests/api/test_scanners.py::TestScannerTrigger::test_trigger_unknown_scanner
tests/api/test_scanners.py::TestScannerTrigger::test_trigger_nonexistent_flow
  C:\Users\ericm\OneDrive\Documentos\code\pwnproxy\tests\api\test_scanners.py:52: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    timestamp=datetime.utcnow(),

tests/api/test_session_isolation.py::TestProxyProcessArgs::test_start_without_db_or_scope
tests/api/test_session_isolation.py::TestProxyProcessArgs::test_start_with_db_path
tests/api/test_session_isolation.py::TestProxyProcessArgs::test_start_with_scope_patterns
  C:\Users\ericm\OneDrive\Documentos\code\pwnproxy\pwnproxy\services\proxy\proxy_process.py:107: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
    logger.debug(f"Stderr reader stopped: {e}")
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

tests/api/test_session_isolation.py: 14 warnings
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:604: PyparsingDeprecationWarning: 'setParseAction' deprecated - use 'set_parse_action'
    f.setParseAction(cls.make)

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:613: PyparsingDeprecationWarning: 'escChar' argument is deprecated, use 'esc_char'
    | pp.QuotedString('"', escChar="\\")

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:614: PyparsingDeprecationWarning: 'escChar' argument is deprecated, use 'esc_char'
    | pp.QuotedString("'", escChar="\\")

tests/api/test_session_isolation.py: 17 warnings
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:618: PyparsingDeprecationWarning: 'setParseAction' deprecated - use 'set_parse_action'
    f.setParseAction(cls.make)

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:623: PyparsingDeprecationWarning: 'setParseAction' deprecated - use 'set_parse_action'
    f.setParseAction(cls.make)

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:628: PyparsingDeprecationWarning: 'setParseAction' deprecated - use 'set_parse_action'
    f.setParseAction(FUrl.make)

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:633: PyparsingDeprecationWarning: 'infixNotation' deprecated - use 'infix_notation'
    pp.infixNotation(

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:642: PyparsingDeprecationWarning: 'setParseAction' deprecated - use 'set_parse_action'
    return expr.setParseAction(lambda x: FAnd(x) if len(x) != 1 else x)

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\flowfilter.py:664: PyparsingDeprecationWarning: 'parseString' deprecated - use 'parse_string'
    flt = bnf.parseString(s, parseAll=True)[0]

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\pyparsing\util.py:466: PyparsingDeprecationWarning: 'parseAll' argument is deprecated, use 'parse_all'
    return fn(self, *args, **kwargs)

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\mitmproxy\command_lexer.py:24: PyparsingDeprecationWarning: 'leaveWhitespace' deprecated - use 'leave_whitespace'
    ).leaveWhitespace()

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\ldap3\utils\asn1.py:50: DeprecationWarning: tagMap is deprecated. Please use TAG_MAP instead.
    from pyasn1.codec.ber.encoder import tagMap, typeMap, AbstractItemEncoder

tests/api/test_session_isolation.py::TestScopeFilterCapture::test_scope_check_passes_in_scope
  C:\Users\ericm\AppData\Local\pypoetry\Cache\virtualenvs\pwnproxy-48bcieZI-py3.14\Lib\site-packages\ldap3\utils\asn1.py:50: DeprecationWarning: typeMap is deprecated. Please use TYPE_MAP instead.
    from pyasn1.codec.ber.encoder import tagMap, typeMap, AbstractItemEncoder

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
====================== 46 passed, 60 warnings in 17.16s =======================
