Skip to content

Commit

Permalink
test: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
34j committed Oct 10, 2023
1 parent 0a798c6 commit c0d81fc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_ja.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ async def asyncTearDown(self) -> None:
await self.catalog.__aexit__(None, None, None)

async def test_detail(self) -> None:
await self.catalog.fetch_detail("060320623", 2022)
# self.console.print(detail)
detail = await self.catalog.fetch_detail("060320623", 2022)
self.assertEqual(detail.時間割コード, "060320623")
self.assertEqual(detail.コース名, "材料力学")
self.console.print(detail)

async def test_search(self) -> None:
results = await self.catalog.fetch_search(
Expand Down

0 comments on commit c0d81fc

Please sign in to comment.