示例#1
0
 def test_efetch_nucleotide(self):
     # should return a list of SeqRecords
     res = etools.eFetch(ncbi_id='DQ373091', logger=self.logger)
     self.assertEqual(res[0].__class__.__name__, 'SeqRecord')
示例#2
0
 def test_efetch_nucleotide(self):
     # should return a list of SeqRecords
     res = etools.eFetch(ncbi_id='DQ373091', logger=self.logger)
     self.assertEqual(res[0].__class__.__name__, 'SeqRecord')
示例#3
0
 def test_efetch_taxonomy(self):
     # 9606 is humans
     res = etools.eFetch(ncbi_id='9606', db='taxonomy', logger=self.logger)
     self.assertEqual(res[0]['ScientificName'], 'H**o sapiens')
示例#4
0
 def test_efetch_taxonomy(self):
     # 9606 is humans
     res = etools.eFetch(ncbi_id='9606', db='taxonomy', logger=self.logger)
     self.assertEqual(res[0]['ScientificName'], 'H**o sapiens')