code: def test_expand_style_opts_line_color_and_color(self):
      style = {"fill_color": "red", "color": "blue"}
      opts = ["color", "line_color", "fill_color"]
      data, mapping = expand_batched_style(style, opts, {}, nvals=3)
      self.assertEqual(data["line_color"], ["blue", "blue", "blue"])
      self.assertEqual(data["fill_color"], ["red", "red", "red"])
      self.assertEqual(
          mapping,
          {
              "line_color": {"field": "line_color"},
              "fill_color": {"field": "fill_color"},
          },
      )
  
file_path: holoviews/holoviews/tests/plotting/bokeh/test_utils.py
imports: import pytest
  import holoviews
  from holoviews.core import Store
  from holoviews.element.comparison import ComparisonTestCase
  from holoviews.plotting.bokeh.styles import expand_batched_style
  from holoviews.plotting.bokeh.util import filter_batched_data, glyph_order, select_legends
label_desc: Use image node_id 3 for calling the TestBokehUtilsInstantiation obj's underlying member method code with example usage: obj.test_expand_style_opts_line_color_and_color() without return types