def assert_is_selected_node(self, node, spec, should_work): self.assertEqual( graph_selector.is_selected_node(node, spec), should_work )