Пример #1
0
 def test_get_unused_annotation_list(self):
     graph = BELGraph()
     name = n()
     graph.annotation_pattern[name] = {n(), n(), n()}
     self.assertEqual({name}, get_unused_annotations(graph))
Пример #2
0
 def test_get_unused_annotation_url(self):
     graph = BELGraph()
     name = n()
     graph.annotation_url[name] = n()
     self.assertEqual({name}, get_unused_annotations(graph))