diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-11-11 21:52:33 -0600 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-11-11 21:52:33 -0600 |
commit | 993eaa34517c271f3e076744f96aa479008fdf16 (patch) | |
tree | 7c01f6176f9fdb37062e569422de2af12c094f3f /tests/test_vba_battle.py | |
parent | cc4c24816767caaaf1a6c2d280184505565eb688 (diff) |
fix the is_switch_prompt test
Diffstat (limited to 'tests/test_vba_battle.py')
-rw-r--r-- | tests/test_vba_battle.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_vba_battle.py b/tests/test_vba_battle.py index 8299bea..a0338e5 100644 --- a/tests/test_vba_battle.py +++ b/tests/test_vba_battle.py @@ -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()) |