code: def test_plot_url_response_given_sharing_key(self):
      # Given share_key is requested, get request of the url should
      # be 200
  
      kwargs = {
          "filename": "is_share_key_included2",
          "auto_open": False,
          "world_readable": False,
          "sharing": "secret",
      }
  
      plot_url = py.plot(self.simple_figure, **kwargs)
      # shareplot basically always gives a 200 if even if permission denied
      # embedplot returns an actual 404
      embed_url = (
          plot_url.split("?")[0] + ".embed?" + plot_url.split("?")[1]
      )
      response = requests.get(embed_url)
  
      self.assertEqual(response.status_code, 200)
  
imports: from __future__ import absolute_import
  import urllib
  import requests
  import sys
  import json
  import warnings
  import chart_studio.tools
  import plotly.tools
  from chart_studio import session
  from chart_studio.tests.utils import PlotlyTestCase
  from chart_studio.plotly import plotly
  from _plotly_utils.exceptions import PlotlyError, PlotlyEmptyDataError
  from chart_studio.files import CONFIG_FILE
label_desc: Use image node_id 13 for calling the TestPlot obj's underlying member method code with example usage: obj.test_plot_url_response_given_sharing_key() without return types