code: def test_feed_several(processor, handlers):
      # First an unknown key first.
      processor.feed(KeyPress(Keys.ControlQ, ""))
      processor.process_keys()
  
      assert handlers.called == []
  
      # Followed by a know key sequence.
      processor.feed(KeyPress(Keys.ControlX, ""))
      processor.feed(KeyPress(Keys.ControlC, ""))
      processor.process_keys()
  
      assert handlers.called == ["controlx_controlc"]
  
      # Followed by another unknown sequence.
      processor.feed(KeyPress(Keys.ControlR, ""))
      processor.feed(KeyPress(Keys.ControlS, ""))
  
      # Followed again by a know key sequence.
      processor.feed(KeyPress(Keys.ControlD, ""))
      processor.process_keys()
  
      assert handlers.called == ["controlx_controlc", "control_d"]
  
file_path: catboost/contrib/python/prompt-toolkit/py2/tests/test_key_binding.py
imports: from __future__ import unicode_literals
  from prompt_toolkit.key_binding.input_processor import InputProcessor, KeyPress
  from prompt_toolkit.key_binding.registry import Registry
  from prompt_toolkit.keys import Keys
  import pytest
label_desc: Use image node_id 5 for calling a global function with example usage: test_feed_several(processor, handlers) without return types