remove legacy in-memory search state fallback
This commit is contained in:
parent
d7404abf18
commit
1ce85304e3
17 changed files with 766 additions and 248 deletions
13
tests/unit/test_scholar_source.py
Normal file
13
tests/unit/test_scholar_source.py
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
from app.services.scholar_source import _build_profile_url
|
||||
|
||||
|
||||
def test_build_profile_url_includes_pagesize_for_initial_page() -> None:
|
||||
url = _build_profile_url(
|
||||
scholar_id="abcDEF123456",
|
||||
cstart=0,
|
||||
pagesize=100,
|
||||
)
|
||||
|
||||
assert "user=abcDEF123456" in url
|
||||
assert "pagesize=100" in url
|
||||
assert "cstart=" not in url
|
||||
Loading…
Add table
Add a link
Reference in a new issue