def METHOD_NAME():
    """UT: nxos module:_init_nxapi method - successful connectinon"""
    opts = {"proxy": {"arg1": None}}
    nxapi_request = create_autospec(nxos_utils.nxapi_request, return_value="data")
    with patch("salt.proxy.nxos.DEVICE_DETAILS", {}) as device_details:
        with patch("salt.proxy.nxos.__utils__", {"nxos.nxapi_request": nxapi_request}):
            result = nxos_proxy._init_nxapi(opts)
            assert device_details["initialized"]
            assert device_details["up"]
            assert device_details["save_config"]
            assert result
            nxapi_request.assert_called_with("show clock", **opts["proxy"])