def test_hearthhead(self):
with requests.Session() as s:
self.assertEqual(scrape.getHearthHeadId('Quick Shot', 'Spell', s),
'quick-shot')
self.assertEqual(scrape.getHearthHeadId('Undercity Valiant',
'Minion', s), 'undercity-valiant')
self.assertEqual(scrape.getHearthHeadId('Gorehowl', 'Weapon', s),
'gorehowl')
self.assertEqual(scrape.getHearthHeadId('V-07-TR-0N',
'Minion', s), 'v-07-tr-0n')
self.assertEqual(scrape.getHearthHeadId("Al'Akir the Windlord",
'Minion', s), 'alakir-the-windlord')
评论列表
文章目录