Example #1
0
 def test_curly_left(self):
   mock_event = MagicMock()
   curly_left(mock_event)
   mock_event.cli.current_buffer.insert_text.assert_has_calls([call("{"), call("}", move_cursor=False)])
Example #2
0
def test_curly_left(binder):
    curly_left(binder)
    binder.cli.current_buffer.insert_text.assert_has_calls([call("{"), call("}", move_cursor=False)])