code: def setUp(self):
      super(TestPlotOptionLogic, self).setUp()
  
      # Make sure we don't hit sign-in validation failures.
      patcher = patch("chart_studio.api.v2.users.current")
      self.users_current_mock = patcher.start()
      self.addCleanup(patcher.stop)
  
      # Some tests specifically check how *file-level* plot options alter
      # plot option logic. In order not to re-write that, we simply clear the
      # *session* information since it would take precedent. The _session is
      # set when you `sign_in`.
      session._session["plot_options"].clear()
  
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 1 for calling the TestPlotOptionLogic obj's underlying member method code with example usage: obj.setUp() without return types