Skip to content

Commit

Permalink
Merge pull request pywinauto#304 from MagazinnikIvan/fix_alt_test
Browse files Browse the repository at this point in the history
fix keyboard alt test failure
  • Loading branch information
vasily-v-ryabov authored Feb 8, 2017
2 parents 39a99f3 + e8a3790 commit 836d3f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pywinauto/unittests/test_keyboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,9 @@ def testAltModifier(self):
"""Make sure that alt modifier works"""
clipboard.set_data('abc')
# check alt via opening edit menu and paste text from clipboard
time.sleep(0.3)
SendKeys('%(e)')
time.sleep(0.3)
SendKeys('{ENTER}')
received = self.receive_text()
self.assertEqual('abc', received)
Expand Down

0 comments on commit 836d3f3

Please sign in to comment.