code: def test_create(self):
      path = "/foo/man/bar/"
      folders.create({"path": path})
      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/folders".format(self.plotly_api_domain)
      )
      self.assertEqual(kwargs["data"], '{{"path": "{}"}}'.format(path))
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_api/test_v2/test_folders.py
imports: from __future__ import absolute_import
  from chart_studio.api.v2 import folders
  from chart_studio.tests.test_plot_ly.test_api import PlotlyApiTestCase
label_desc: Use image node_id 2 for calling the FoldersTest obj's underlying member method code with example usage: obj.test_create() without return types