code: def test_duplicate_filenames(self):
      c1 = Column([1, 2, 3, 4], "first column")
      g = Grid([c1])
  
      random_chars = [
          random.choice(string.ascii_uppercase) for _ in range(5)
      ]
      unique_filename = "Valid Grid " + "".join(random_chars)
      py.grid_ops.upload(g, unique_filename, auto_open=False)
      try:
          py.grid_ops.upload(g, unique_filename, auto_open=False)
      except PlotlyRequestError as e:
          pass
      else:
          self.fail("Expected this to fail!")
  
imports: from __future__ import absolute_import
  import random
  import string
  from unittest import skip
  from chart_studio import plotly
  from chart_studio.exceptions import InputError, PlotlyRequestError
  from _plotly_utils.exceptions import PlotlyError
  from plotly.graph_objs import Scatter
  from chart_studio.grid_objs import Column, Grid
  from chart_studio.plotly import parse_grid_id_args
  from chart_studio.tests.utils import PlotlyTestCase
label_desc: Use image node_id 19 for calling the GridTest obj's underlying member method code with example usage: obj.test_duplicate_filenames() without return types