예제 #1
0
 def test_info_pathway(self):
     with kegg_info("pathway") as handle:
         handle.read()
     self.assertEqual(handle.url, "http://rest.kegg.jp/info/pathway")
예제 #2
0
 def test_info_pathway(self):
     h = kegg_info("pathway")
     h.read()
     self.assertEqual(h.url, "http://rest.kegg.jp/info/pathway")
     h.close()
예제 #3
0
 def test_info_kegg(self):
     with kegg_info("kegg") as handle:
         handle.read()
     self.assertEqual(handle.url, "http://rest.kegg.jp/info/kegg")
예제 #4
0
 def test_info_kegg(self):
     h = kegg_info("kegg")
     h.read()
     self.assertEqual(h.url, "http://rest.kegg.jp/info/kegg")
     h.close()