switch tests to use new battle starter

This commit is contained in:
Bryan Bishop
2013-11-11 00:04:32 -06:00
parent 9249ffd2d0
commit 1d9ecfa00f
2 changed files with 2 additions and 2 deletions

View File

@@ -49,7 +49,6 @@ def bootstrap_trainer_battle():
cry.givepoke(224, 60, "OcTiLlErY")
cry.givepoke(126, 87, "magmar")
# TODO: figure out a better way to start a trainer battle :(
runner.cry.start_trainer_battle_lamely()
cry.start_trainer_battle()
return runner.cry.vba.state

View File

@@ -40,6 +40,7 @@ class BattleTests(unittest.TestCase):
# reset to whatever the bootstrapper created
self.vba.state = self.bootstrap_state
self.battle = Battle(emulator=self.cry)
self.battle.skip_start_text()
def test_is_in_battle(self):
self.assertTrue(self.battle.is_in_battle())