code: def test_restore(self):
      plots.restore("hodor:88")
      assert self.request_mock.call_count == 1
      args, kwargs = self.request_mock.call_args
      method, url = args
      self.assertEqual(method, "post")
      self.assertEqual(
          url,
          "{}/v2/plots/hodor:88/restore".format(self.plotly_api_domain),
      )
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_plots.py
imports: from __future__ import absolute_import
  from chart_studio.api.v2 import plots
  from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
label_desc: Use image node_id 7 for calling the PlotsTest obj's underlying member method code with example usage: obj.test_restore() without return types