From c0d81fc9a4124a8e34a98e16fa2f74955b492d2e Mon Sep 17 00:00:00 2001 From: 34j <55338215+34j@users.noreply.github.com> Date: Tue, 10 Oct 2023 10:46:21 +0900 Subject: [PATCH] test: update test --- tests/test_ja.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test_ja.py b/tests/test_ja.py index eeee69a..8f3af9e 100644 --- a/tests/test_ja.py +++ b/tests/test_ja.py @@ -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(