code: def test_update_session_plot_options_valid_sharing_argument(self):
      # _session['plot_options'] should contain sharing key after
      # update_session_plot_options is called by correct arguments
      # 'public, 'private' or 'secret'
      from chart_studio.session import _session
  
      for key in SHARING_OPTIONS:
          kwargs = {"sharing": key}
          update_session_plot_options(**kwargs)
  
          self.assertEqual(_session["plot_options"], kwargs)
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_session/test_session.py
imports: from __future__ import absolute_import
  from chart_studio.tests.utils import PlotlyTestCase
  from chart_studio import session
  from chart_studio.session import update_session_plot_options, SHARING_OPTIONS
  from _plotly_utils.exceptions import PlotlyError
label_desc: Use image node_id 3 for calling the TestSession obj's underlying member method code with example usage: obj.test_update_session_plot_options_valid_sharing_argument() without return types