code: def test_including_plotlyjs_truthy_div(self):
      # For backwards compatibility all truthy values that aren't otherwise
      # recognized are considered true
      for include_plotlyjs in [True, 34, "non-empty-str"]:
          html = plotly.offline.plot(
              fig, include_plotlyjs=include_plotlyjs, output_type="div"
          )
  
          self.assertIn(plotly_config_script, html)
          self.assertIn(PLOTLYJS, html)
          self.assertNotIn(cdn_script, html)
          self.assertNotIn(directory_script, html)
  
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 6 for calling the PlotlyOfflineTestCase obj's underlying member method code with example usage: obj.test_including_plotlyjs_truthy_div() without return types