docs: shorten the readme and trim code comments

This commit is contained in:
Steppenstreuner
2026-08-29 16:18:37 +02:00
parent 8a05d2d3c3
commit 551352e838
16 changed files with 132 additions and 229 deletions
+1 -2
View File
@@ -31,8 +31,7 @@ def calls(monkeypatch):
def test_search_asks_for_the_first_page(calls):
"""Audible's page parameter is 0-based: page=1 skips the only page of results
and a search like "Der Superpapagei" comes back empty."""
"""Audible's page parameter is 0-based, page=1 skips the only page of hits."""
results = asyncio.run(audible.search("Der Superpapagei"))
assert [r.title for r in results] == ["Die drei ??? und der Super-Papagei"]
assert calls and all(int(c["page"]) == 0 for c in calls)