code: def _store_request(self, url, body):
      parts = url.split("?")
      key = parts[0].split("/")[-1]
      if len(parts) > 1:
          # To make assertions easier, we remove the run from storage requests
          key = key + "?" + parts[1].split("&run=")[0]
      with self._lock:
          # Azure tests use "storage" as the final path of their requests
          if key == "storage":
              key = "storage?file=azure"
          self.ctx[key] = self.ctx.get(key, [])
          self.ctx[key].append(body)
  
imports: import json
  import threading
  import urllib
  from unittest.mock import MagicMock
  import requests
label_desc: Use image node_id 17 for calling the RequestsMock obj's underlying member method code with example usage: obj._store_request(url, body) without return types