Python prompt_toolkit.keys.Keys.F5 Examples

The following are 1 code examples of prompt_toolkit.keys.Keys.F5(). You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may also want to check out all available functions/classes of the module prompt_toolkit.keys.Keys , or try the search function .
Example #1
Source File: test_keys.py    From aws-shell with Apache License 2.0 5 votes vote down vote up
def test_F5(self):
        show_help = self.aws_shell.show_help
        with self.assertRaises(InputInterrupt):
            self.feed_key(Keys.F5)
        assert show_help != self.aws_shell.show_help