fix the is_switch_prompt test

This commit is contained in:
Bryan Bishop 2013-11-11 21:52:33 -06:00
parent cc4c248167
commit 993eaa3451

View File

@ -104,12 +104,12 @@ class BattleTests(unittest.TestCase):
# attack the enemy and kill it
self.battle.skip_until_input_required()
import time
time.sleep(1)
# yes/no menu is present, should be detected
self.assertTrue(self.battle.is_switch_prompt())
# and input should be required
self.assertTrue(self.is_input_required())
# but it's not mandatory
self.assertFalse(self.battle.is_mandatory_switch())