def METHOD_NAME():
    """UT: nxos module:_nxapi_request method"""
    commands = "show version"
    nxapi_request = create_autospec(nxos_utils.nxapi_request, return_value="data")
    with patch("salt.proxy.nxos.DEVICE_DETAILS", {"conn_args": {"arg1": None}}):
        with patch("salt.proxy.nxos.__utils__", {"nxos.nxapi_request": nxapi_request}):
            result = nxos_proxy._nxapi_request(commands)
            assert "data" == result
            nxapi_request.assert_called_with(commands, method="cli_conf", arg1=None)