From a82856307028c8090cee0c5d32c764951c93f2c0 Mon Sep 17 00:00:00 2001 From: Charles Tapley Hoyt Date: Wed, 18 Apr 2018 15:48:21 +0200 Subject: [PATCH] Fix tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Daniel Domingo-Fernández --- tests/test_enrich.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/test_enrich.py b/tests/test_enrich.py index f291ad7..3881a71 100644 --- a/tests/test_enrich.py +++ b/tests/test_enrich.py @@ -16,15 +16,15 @@ def test_get_pathway_graph(self): def test_enrich_wikipathway_pathway(self): graph_example = enrichment_graph() - enriched_graph = self.manager.enrich_wikipathways_pathway(graph_example) + self.manager.enrich_wikipathways_pathway(graph_example) - self.assertEqual(6, enriched_graph.number_of_nodes()) # 4 nodes + 2 new - self.assertEqual(5, enriched_graph.number_of_edges()) # 3 + 2 new + self.assertEqual(6, graph_example.number_of_nodes()) # 4 nodes + 2 new + self.assertEqual(5, graph_example.number_of_edges()) # 3 + 2 new def test_enrich_wikipathway_protein(self): graph_example = enrichment_graph() - enriched_graph = self.manager.enrich_wikipathways_protein(graph_example) + self.manager.enrich_wikipathways_protein(graph_example) - self.assertEqual(6, enriched_graph.number_of_nodes()) # 4 + 2 new pathways - self.assertEqual(5, enriched_graph.number_of_edges()) # 3 + 2 new + self.assertEqual(6, graph_example.number_of_nodes()) # 4 + 2 new pathways + self.assertEqual(5, graph_example.number_of_edges()) # 3 + 2 new