docstr: all node attributes should be set correctly
docstr_tok: ["all","node","attributes","should","be","set","correctly"]
code: def test_all_node_attributes(self):
      """all node attributes should be set correctly"""
      sm = StructureModel([("a", "b")])
      a_graph = plot_structure(sm)
  
      default_color = a_graph.get_node("a")["color"]["background"]
      test_color = "black"
  
      assert default_color != test_color
      assert all(
          a_graph.get_node(node)["color"] != test_color
          for node in a_graph.get_nodes()
      )
  
      a_graph = plot_structure(
          sm, all_node_attributes={"color": test_color}
      )
      assert all(
          a_graph.get_node(node)["color"] == test_color
          for node in a_graph.get_nodes()
      )
  
file_path: causalnex/tests/test_plotting.py
imports: from collections import namedtuple
  from causalnex.plots import EDGE_STYLE, GRAPH_STYLE, plot_structure
  from causalnex.structure import StructureModel
label_desc: Use image node_id 3 for calling the TestToPyvis obj's underlying member method code with example usage: obj.test_all_node_attributes() without return types