code: def test_unknown_kwargs():
      with pytest.raises(UnknownArgument):
          _parse_kwargs_to_mii_config("test", unknown_kwarg=True)
  
      _, remaining_kwargs = _parse_kwargs_to_model_config(
          "test", unknown_kwarg=True
      )
      assert remaining_kwargs == {"unknown_kwarg": True}
  
imports: import pytest
  from mii.api import _parse_kwargs_to_model_config, _parse_kwargs_to_mii_config
  from mii.errors import UnknownArgument
label_desc: Use image node_id 4 for calling a global function with example usage: test_unknown_kwargs() without return types