code: def test_arg_from_keywords():
      kw_name = "framework_version"
      kw_value = "1.6.0"
  
      call = ast_call(
          "MXNet({}='{}', py_version='py3', entry_point='run')".format(
              kw_name, kw_value
          )
      )
      returned_kw = parsing.arg_from_keywords(call, kw_name)
  
      assert kw_name == returned_kw.arg
      assert kw_value == returned_kw.value.s
  
imports: from __future__ import absolute_import
  import pytest
  from sagemaker.cli.compatibility.v2.modifiers import parsing
  from tests.unit.sagemaker.cli.compatibility.v2.modifiers.ast_converter import ast_call
label_desc: Use image node_id 1 for calling a global function with example usage: test_arg_from_keywords() without return types