summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2013-11-10 23:14:42 -0600
committerBryan Bishop <kanzure@gmail.com>2013-11-10 23:14:42 -0600
commit9249ffd2d01ec38ace0caf8d5b3d0f0a7cad23f2 (patch)
treed89c44b528422e2ba8e5e4a7fd45fb75c209023a /tests
parentb94aaa38829dc96804ca35b01d1db92fe77f914b (diff)
bootstrap the battle tests with more mons
Use the givepoke function to add a few more pokemon to the team before starting the battle-related tests. There are some features of the battle handling code that require more than one pokemon to be present in the party.
Diffstat (limited to 'tests')
-rw-r--r--tests/bootstrapping.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bootstrapping.py b/tests/bootstrapping.py
index 17a2945..986a20b 100644
--- a/tests/bootstrapping.py
+++ b/tests/bootstrapping.py
@@ -45,6 +45,10 @@ def bootstrap_trainer_battle():
# initial state if none is provided.
runner.new_bark_level_grind(17, skip=True)
+ cry.givepoke(64, 31, "kAdAbRa")
+ 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()