code: def setUp(self):
      super(TestSignIn, self).setUp()
      patcher = patch("chart_studio.api.v2.users.current")
      self.users_current_mock = patcher.start()
      self.addCleanup(patcher.stop)
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_plotly/test_credentials.py
imports: from __future__ import absolute_import
  import _plotly_utils.exceptions
  from chart_studio import plotly, exceptions
  import chart_studio.session
  import chart_studio.tools
  from chart_studio.tests.utils import PlotlyTestCase
  import sys
label_desc: Use image node_id 1 for calling the TestSignIn obj's underlying member method code with example usage: obj.setUp() without return types