code: def test_plot_sharing_invalid_argument(self):
      # Raise an error if sharing argument is incorrect
      # correct arguments {'public, 'private', 'secret'}
  
      kwargs = {
          "filename": "invalid-sharing-argument",
          "sharing": "privste",
      }
  
      with self.assertRaisesRegex(
          PlotlyError, "The 'sharing' argument only accepts"
      ):
          py.plot(self.simple_figure, **kwargs)
  
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 7 for calling the TestPlot obj's underlying member method code with example usage: obj.test_plot_sharing_invalid_argument() without return types