File size: 523 Bytes
891fe52 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | """Pytest configuration and fixtures."""
import pytest
@pytest.fixture
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,
}
]
}
|