class_docstr: Class of Unit test for style_utils
class_docstr_tok: ["Class","of","Unit","test","for","style_utils"]
docstr: test of define_style : check that each entry in json file is ok to define style_dict
docstr_tok: ["test","of","define_style",":","check","that","each","entry","in","json","file","is","ok","to","define","style_dict"]
code: def test_define_style(self):
      """
      test of define_style : check that each entry in json file is ok to define style_dict
      """
      available_palettes = colors_loading()
      for palette_name in available_palettes.keys():
          palette = select_palette(available_palettes, palette_name)
          style_dict = define_style(palette)
          assert len(list(style_dict.keys())) > 0
  
file_path: shapash/tests/unit_tests/style/test_style_utils.py
imports: import unittest
  import re
  from shapash.style.style_utils import colors_loading, select_palette, define_style, convert_str_color_to_plt_format, get_pyplot_color
label_desc: Use image node_id 5 for calling the TestStyle_utils obj's underlying member method code with example usage: obj.test_define_style() without return types