def setUp(self): """ Builds the Pkmn and the Leech Effect """ self.pkmn = BuildPokemonBattleWrapper() self.message = " hurt." self.pkmn2 = BuildPokemonBattleWrapper() self.leech = Leech(self.pkmn2, self.message)
def setUp(self): """ Builds the delegate and pkmn for use in the tests """ self.wrapper = BuildPokemonBattleWrapper() self.delegate = LeechDelegate("", "", "FIRE") self.leech = Leech(None, "") self.otherLeech = Leech(None, "other.")
def setUp(self): """ Builds the Pkmn and Leech """ self.pkmn = BuildPokemonBattleWrapper() self.pkmn2 = BuildPokemonBattleWrapper() self.leech = Leech(self.pkmn2, "") self.hp = 32