fix: handle error correctly with aiohttp upgrade
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user