def test_gencode(self): species = genomes.species() self.assertIsInstance(species, list) self.assertTrue(len(species) > 0) self.assertIsInstance(species[0], str) self.assertTrue('human' in species) self.assertTrue('mouse' in species)
def test_ensembl_2(self): species = genomes.species(source='ensembl', release=84) self.assertIsInstance(species, list) self.assertTrue(len(species) > 0) self.assertTrue('homo_sapiens' in species)
def test_bad_source(self): message = r'Source .* is not supported.' with self.assertRaisesRegex(ValueError, message): genomes.species(source='invalid_source')