Skip to content

Commit 3cb3e78

Browse files
committed
fix brawlapi datatype test assertion for new changes
1 parent c1c8bd9 commit 3cb3e78

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

tests/brawlapi/test_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ async def test_club_search(self):
7575

7676
async def test_battle_logs(self):
7777
logs = await self.client.get_battle_logs(self.player_tag)
78-
self.assertTrue(isinstance(logs, list))
78+
self.assertTrue(isinstance(logs, brawlstats.brawlapi.BattleLog))
7979

8080
# Other
8181
async def test_invalid_tag(self):

tests/brawlapi/test_blocking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def test_club_search(self):
7474

7575
def test_battle_logs(self):
7676
logs = self.client.get_battle_logs(self.player_tag)
77-
self.assertTrue(isinstance(logs, list))
77+
self.assertTrue(isinstance(logs, brawlstats.brawlapi.BattleLog))
7878

7979
# Other
8080
def test_invalid_tag(self):

0 commit comments

Comments
 (0)