Repository navigation
Mark the live HED validation tests as network - #486
Merged
Merged
Conversation
tests/test_tools/test_hed_validation.py calls hedtools.org in every test but only one class carried a marker (integration), so the unit jobs ran the rest and a slow response failed unrelated PRs: #484 (read operation timed out) and #485 (two validations returned False) on 2026-09-24. A module-level pytestmark = pytest.mark.network leaves them to test.yml's network job, which is continue-on-error. Tested: -m 'not integration and not llm and not network' deselects all 11; -m network runs all 11, passing against hedtools.org; ruff check and format clean.
This was referenced Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every test in
tests/test_tools/test_hed_validation.pycalls hedtools.org (its docstring says so), but onlyTestValidationIntegrationcarried a marker. The unit jobs, which run-m "not network"(tests.yml) and-m "not integration and not llm and not network"(test.yml), therefore ran the other ten against the live service, and a slow response failed two unrelated PRs today:API error: The read operation timed outintest_get_schema_versionstest_default_schema_versionandtest_agent_workflow_valid_examplereturnedvalid: FalseA module-level
pytestmark = pytest.mark.networkleaves them totest.yml's network job, which already runs-m networkwithcontinue-on-error: true. No test is removed or changed.-m "not integration and not llm and not network": all 11 deselected-m network: all 11 run and pass against hedtools.org