Summary
tests/integration/test_web_tools.py is marked as an integration test module and named like a pytest file, but it defines no collectable pytest tests.
As a result, pytest runs nothing from this file, so web-tools integration coverage is effectively absent in the pytest workflow.
Affected file
tests/integration/test_web_tools.py
Why this is a bug
The file looks like part of the test suite, but its checks only run through the manual main() script path. This creates a false sense of coverage.
Reproduction
cd /Users/genie/.hermes/hermes-agent
source venv/bin/activate
pytest -q -m integration -o addopts='' tests/integration/test_web_tools.py
Observed output:
The file is pytest-marked at the top:
tests/integration/test_web_tools.py:18-19
But it contains helper classes/methods and a script-style runner rather than collectable test_* functions/classes.
Expected behavior
If this file lives under tests/integration/test_*.py, pytest should collect and execute real tests from it.
Actual behavior
Pytest collects nothing from the module.
Suggested investigation direction
Either convert the script into real pytest tests, or move/rename it so it no longer appears to be part of the active pytest suite.
Summary
tests/integration/test_web_tools.pyis marked as an integration test module and named like a pytest file, but it defines no collectable pytest tests.As a result, pytest runs nothing from this file, so web-tools integration coverage is effectively absent in the pytest workflow.
Affected file
tests/integration/test_web_tools.pyWhy this is a bug
The file looks like part of the test suite, but its checks only run through the manual
main()script path. This creates a false sense of coverage.Reproduction
Observed output:
The file is pytest-marked at the top:
tests/integration/test_web_tools.py:18-19But it contains helper classes/methods and a script-style runner rather than collectable
test_*functions/classes.Expected behavior
If this file lives under
tests/integration/test_*.py, pytest should collect and execute real tests from it.Actual behavior
Pytest collects nothing from the module.
Suggested investigation direction
Either convert the script into real pytest tests, or move/rename it so it no longer appears to be part of the active pytest suite.