We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7ac3d3 commit 38a341fCopy full SHA for 38a341f
tests/integration/test_keys.py
@@ -52,9 +52,5 @@ def test_F5(self):
52
assert show_help != self.aws_shell.show_help
53
54
def test_F10(self):
55
- # Exiting from the test in this mock test environment will throw:
56
- # IOError: [Errno 25] Inappropriate ioctl for device
57
- # In a non-mock test environment it would through a EOFError.
58
- # TODO: Probably better to mock the call to event.cli.set_exit().
59
- with self.assertRaises(IOError) as e:
60
- self.processor.feed_key(KeyPress(Keys.F10, ''))
+ self.processor.feed_key(KeyPress(Keys.F10, ''))
+ assert self.aws_shell.cli.is_exiting
0 commit comments