예제 #1
0
 def test_paren_left(self):
   mock_event = MagicMock()
   paren_left(mock_event)
   mock_event.cli.current_buffer.insert_text.assert_has_calls([call("("), call(")", move_cursor=False)])
예제 #2
0
def test_paren_left(binder):
    paren_left(binder)
    binder.cli.current_buffer.insert_text.assert_has_calls([call("("), call(")", move_cursor=False)])