def test_undispellable_buff(self):
     error = "An undispellable effect was incorrectly able to be dispelled"
     elemental = CombatElementalBuilder().build()
     buff = PermaBuff()
     elemental.add_status_effect(buff)
     elemental.dispel_all(elemental)
     num_effects = elemental.num_status_effects
     self.assertEqual(num_effects, 1, error)
 def test_dispellable_buff(self):
     error = "A dispellable effect could not be dispelled"
     elemental = CombatElementalBuilder().build()
     buff = GenericBuff()
     elemental.add_status_effect(buff)
     elemental.dispel_all(elemental)
     num_effects = elemental.num_status_effects
     self.assertEqual(num_effects, 0, error)