mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-08-09 18:57:29 -05:00
fix the is_switch_prompt test
This commit is contained in:
parent
cc4c248167
commit
993eaa3451
|
|
@ -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())
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user