def setUp(self): """ Build the Trainer and Pokemon lists for use in tests """ self.trainer = Trainer() self.pkmnOnBelt = BuildPokemonBattleWrapper() self.pkmnWithHealth = BuildPokemon(pkmn = "BULBASAUR") self.pkmnWithoutHealth = BuildPokemon(pkmn = "CHARMANDER") self.pkmnWithoutHealth.battleDelegate.currHP = 0
def setUp(self): """ Build the Pokemon for use in the test """ self.pkmn = BuildPokemon() self.ratio = 2 self.hp1 = 50 self.hp2 = 51 self.hp3 = 10 self.hp4 = 1 self.half = 25
def setUp(self): """ Build the Trainer and Pokemon lists for use in tests """ self.pkmn = BuildPokemon()
def setUp(self): """ Build the Pokemon for use in the tests """ self.pkmn = BuildPokemon()
def setUp(self): """ Build the *** for the test """ self.pkmn = BuildPokemon() self.copy = PokemonFactory.copy(self.pkmn)