def test_ice_apply(self): self.assertEqual(self.hero.pvp.energy_speed, 1) ability = Ice(hero=self.hero, enemy=self.enemy) ability.apply() self.assertTrue(self.hero.pvp.energy_speed > 1)
def test_ice_apply(self): self.assertEqual(self.meta_action_battle.hero_1_pvp.energy_speed, 1) ability = Ice(hero=self.hero, enemy=self.enemy) ability.apply() self.assertTrue(self.meta_action_battle.hero_1_pvp.energy_speed > 1)