code: def test_option_hooks_without_options_arg_raises(ex):
      with pytest.raises(KeyError):
  
          @ex.option_hook
          def invalid_hook(wrong_arg_name):
              pass
  
imports: from sacred import Ingredient
  from mock import patch
  import pytest
  import sys
  from sacred import cli_option
  from sacred import host_info_gatherer
  from sacred.experiment import Experiment
  from sacred.utils import apply_backspaces_and_linefeeds, ConfigAddedError, SacredError
label_desc: Use image node_id 16 for calling a global function with example usage: test_option_hooks_without_options_arg_raises(ex) without return types