Spaces:
Sleeping
Sleeping
Download tests/conftest.py from purecipher/xsecuremcp: direct link, hf CLI and curl.
- Browser
- Download file 339 Bytes
-
https://huggingface.co/spaces/purecipher/xsecuremcp/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/purecipher/xsecuremcp/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/purecipher/xsecuremcp/resolve/main/tests/conftest.py
339 Bytes
| import pytest | |
| def pytest_collection_modifyitems(items): | |
| """Automatically mark tests in integration_tests folder with 'integration' marker.""" | |
| for item in items: | |
| # Check if the test is in the integration_tests folder | |
| if "integration_tests" in str(item.fspath): | |
| item.add_marker(pytest.mark.integration) | |