code: def test_including_plotlyjs_directory_html(self):
      self.assertFalse(
          os.path.exists(os.path.join(here, "plotly.min.js"))
      )
  
      for include_plotlyjs in ["directory", "Directory", "DIRECTORY"]:
          html = self._read_html(
              plotly.offline.plot(
                  fig,
                  include_plotlyjs=include_plotlyjs,
                  filename=html_filename,
                  auto_open=False,
              )
          )
          self.assertIn(plotly_config_script, html)
          self.assertNotIn(PLOTLYJS, html)
          self.assertNotIn(cdn_script, html)
          self.assertIn(directory_script, html)
  
      # plot creates plotly.min.js in the output directory
      self.assertTrue(
          os.path.exists(os.path.join(here, "plotly.min.js"))
      )
      with open(os.path.join(here, "plotly.min.js"), "r") as f:
          self.assertEqual(f.read(), PLOTLYJS)
  
imports: import json
  import os
  from unittest import TestCase
  import pytest
  import plotly
  import plotly.io
  from plotly.io._utils import plotly_cdn_url
label_desc: Use image node_id 11 for calling the PlotlyOfflineTestCase obj's underlying member method code with example usage: obj.test_including_plotlyjs_directory_html() without return types