Example #1
0
 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)
Example #2
0
 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)