|
| 1 | +============================= test session starts ============================== |
| 2 | +platform linux -- Python 3.12.3, pytest-8.4.2, pluggy-1.6.0 -- /usr/bin/python3 |
| 3 | +cachedir: .pytest_cache |
| 4 | +rootdir: /home/runner/work/stackhawk-mcp/stackhawk-mcp |
| 5 | +configfile: pytest.ini |
| 6 | +plugins: anyio-4.11.0, asyncio-1.2.0 |
| 7 | +asyncio: mode=Mode.STRICT, debug=False, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function |
| 8 | +collecting ... collected 24 items |
| 9 | + |
| 10 | +tests/quick_test.py::test_pagination PASSED [ 4%] |
| 11 | +tests/test_all_time_fix.py::test_all_time_reports PASSED [ 8%] |
| 12 | +tests/test_anti_hallucination.py::test_anti_hallucination PASSED [ 12%] |
| 13 | +tests/test_api_calls.py::test_api_calls PASSED [ 16%] |
| 14 | +tests/test_application_vulnerabilities.py::test_vulnerability_scoping PASSED [ 20%] |
| 15 | +tests/test_connection.py::test_authentication PASSED [ 25%] |
| 16 | +tests/test_connection.py::test_basic_functionality PASSED [ 29%] |
| 17 | +tests/test_connection.py::test_mcp_resources PASSED [ 33%] |
| 18 | +tests/test_executive_summary_fix.py::test_executive_summary_fix PASSED [ 37%] |
| 19 | +tests/test_mcp_imports.py::test_imports PASSED [ 41%] |
| 20 | +tests/test_mcp_imports.py::test_environment PASSED [ 45%] |
| 21 | +tests/test_mcp_imports.py::test_server_creation PASSED [ 50%] |
| 22 | +tests/test_mcp_imports.py::test_mcp_imports PASSED [ 54%] |
| 23 | +tests/test_pagination_simple.py::test_pagination PASSED [ 58%] |
| 24 | +tests/test_repository_analysis.py::test_repository_analysis PASSED [ 62%] |
| 25 | +tests/test_repository_analysis.py::test_repository_api_endpoints PASSED [ 66%] |
| 26 | +tests/test_sensitive_data.py::test_sensitive_data_functionality PASSED [ 70%] |
| 27 | +tests/test_sensitive_data.py::test_sensitive_data_api_endpoints PASSED [ 75%] |
| 28 | +tests/test_server_fix.py::test_server_import PASSED [ 79%] |
| 29 | +tests/test_server_fix.py::test_server_class PASSED [ 83%] |
| 30 | +tests/test_server_fix.py::test_tech_flag_filtering PASSED [ 87%] |
| 31 | +tests/test_tool_schema.py::test_tool_schema_output_schema_and_annotations PASSED [ 91%] |
| 32 | +tests/test_vulnerability_reporting.py::test_vulnerability_reporting PASSED [ 95%] |
| 33 | +tests/test_yaml_tools.py::test_yaml_tools PASSED [100%] |
| 34 | + |
| 35 | +=============================== warnings summary =============================== |
| 36 | +tests/test_mcp_imports.py::test_imports |
| 37 | + /home/runner/.local/lib/python3.12/site-packages/_pytest/python.py:161: PytestReturnNotNoneWarning: Test functions should return None, but tests/test_mcp_imports.py::test_imports returned <class 'bool'>. |
| 38 | + Did you mean to use `assert` instead of `return`? |
| 39 | + See https://docs.pytest.org/en/stable/how-to/assert.html#return-not-none for more information. |
| 40 | + warnings.warn( |
| 41 | + |
| 42 | +tests/test_mcp_imports.py::test_environment |
| 43 | + /home/runner/.local/lib/python3.12/site-packages/_pytest/python.py:161: PytestReturnNotNoneWarning: Test functions should return None, but tests/test_mcp_imports.py::test_environment returned <class 'bool'>. |
| 44 | + Did you mean to use `assert` instead of `return`? |
| 45 | + See https://docs.pytest.org/en/stable/how-to/assert.html#return-not-none for more information. |
| 46 | + warnings.warn( |
| 47 | + |
| 48 | +tests/test_mcp_imports.py::test_server_creation |
| 49 | + /home/runner/.local/lib/python3.12/site-packages/_pytest/python.py:161: PytestReturnNotNoneWarning: Test functions should return None, but tests/test_mcp_imports.py::test_server_creation returned <class 'bool'>. |
| 50 | + Did you mean to use `assert` instead of `return`? |
| 51 | + See https://docs.pytest.org/en/stable/how-to/assert.html#return-not-none for more information. |
| 52 | + warnings.warn( |
| 53 | + |
| 54 | +-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html |
| 55 | +======================== 24 passed, 3 warnings in 4.84s ======================== |
0 commit comments