def test_thorough_jsons(self): graph_json_str = to_nodelink_jsons(self.thorough_graph) graph = from_nodelink_jsons(graph_json_str) self.bel_thorough_reconstituted(graph)
def test_thorough_jsons(self): """Test the round-trip through a node-link JSON string.""" graph_json_str = to_nodelink_jsons(sialic_acid_graph) graph = from_nodelink_jsons(graph_json_str) self._help_test_equal(graph)