fix: handle error correctly with aiohttp upgrade

This commit is contained in:
2026-03-02 17:41:43 +01:00
parent 4ef3de646e
commit 49ab62bb2c
2 changed files with 18 additions and 3 deletions

View File

@@ -75,6 +75,21 @@ class TestWallabag:
)
assert isinstance(data, dict)
@pytest.mark.asyncio
async def test_get_entries_non_existing_page(self, setup_class):
wallabag, _ = setup_class
data = await wallabag.get_entries(
**{
"delete": 0,
"sort": "created",
"order": "desc",
"page": 10,
"perPage": 30,
"tags": [],
}
)
assert isinstance(data, dict)
@pytest.mark.asyncio
async def test_get_entry(self, setup_class):
wallabag, entry = setup_class