示例#1
0
 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)
示例#2
0
 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.")
示例#3
0
 def setUp(self):
     """ Builds the Pkmn and Leech """
     self.pkmn = BuildPokemonBattleWrapper()
     self.pkmn2 = BuildPokemonBattleWrapper()
     self.leech = Leech(self.pkmn2, "")
     self.hp = 32