Download tests/conftest.py from polyHedra/PolyHedra: direct link, hf CLI and curl.
- Browser
- Download file 523 Bytes
-
https://huggingface.co/spaces/polyHedra/PolyHedra/resolve/main/tests/conftest.py
- Command line
-
hf download hf://spaces/polyHedra/PolyHedra/tests/conftest.py
-
curl -L -o conftest.py https://huggingface.co/spaces/polyHedra/PolyHedra/resolve/main/tests/conftest.py
523 Bytes
| """Pytest configuration and fixtures.""" | |
| import pytest | |
| def mock_semantic_scholar_response(): | |
| """Mock Semantic Scholar API response.""" | |
| return { | |
| "data": [ | |
| { | |
| "paperId": "test123", | |
| "title": "Test Paper", | |
| "authors": [{"name": "Test Author"}], | |
| "year": 2023, | |
| "venue": "Test Conference", | |
| "abstract": "Test abstract", | |
| "citationCount": 10, | |
| } | |
| ] | |
| } | |