Skip to content

Commit

Permalink
test: Add unit test for empty substat list
Browse files Browse the repository at this point in the history
  • Loading branch information
seriaati committed Jun 8, 2024
1 parent 160484e commit 4f89e3e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_hsr.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,9 @@ async def test_raw_and_parse() -> None:
async with HSRClient() as api:
raw = await api.fetch_showcase("809162009", raw=True)
api.parse_showcase(raw)


@pytest.mark.asyncio
async def test_empty_substat_list() -> None:
async with HSRClient() as api:
await api.fetch_showcase("800724088")

0 comments on commit 4f89e3e

Please sign in to comment.