code: def test_request_for_image_with_segmentation_meta_data(cls):
      client = MockServerFriendlyClient(cls.MOCK_SERVER_URL)
  
      urlToBeTested = (
          cls.MOCK_SERVER_URL
          + "/datastore/updatelabelinfo?label=6662775"
      )
      body = {
          "segmentationMeta": {
              "status": "approved",
              "approvedBy": "",
              "level": "hard",
              "comment": "",
              "editTime": "Fri May 27 07:41:08 2022",
          }
      }
  
      client.expect(
          request(
              method="PUT",
              path="/datastore/updatelabelinfo",
              querystring={"label": "6662775"},
              headers={"content-Type": "application/json"},
              body=json_equals(body),
          ),
          response(code=200),
          times(1),
      )
  
      result = requests.put(
          cls.MOCK_SERVER_URL + "/datastore/updatelabelinfo",
          params={"label": "6662775"},
          json=body,
          headers={"content-Type": "application/json"},
      )
  
      cls.assertEqual(200, result.status_code)
      cls.assertEqual(urlToBeTested, result.url)
      client.reset()
  
imports: import json
  import logging
  import os
  import sys
  import time
  import unittest
  import requests
  from mockserver_friendly import MockServerFriendlyClient, json_equals, request, response, times
  from python_on_whales import docker
  from MONAILabelReviewerLib.MonaiServerREST import MonaiServerREST
label_desc: Use image node_id 5 for calling the MonaiServerRESTTest obj's underlying member method code with example usage: obj.test_request_for_image_with_segmentation_meta_data(cls) without return types