code: def test_duplicate_folders(self):
      first_folder = self._random_filename()
      py.file_ops.mkdirs(first_folder)
      try:
          py.file_ops.mkdirs(first_folder)
      except PlotlyRequestError as e:
          pass
      else:
          self.fail("Expected this to fail!")
  
file_path: plotly.py/packages/python/chart-studio/chart_studio/tests/test_plot_ly/test_file/test_file.py
imports: import random
  import string
  from chart_studio import plotly
  from chart_studio.exceptions import PlotlyRequestError
  from chart_studio.tests.utils import PlotlyTestCase
label_desc: Use image node_id 5 for calling the FolderAPITestCase obj's underlying member method code with example usage: obj.test_duplicate_folders() without return types