def test_nonexistent(self): 'Test trying to use a genome with no Ensembl data at UCSC' badname = 'Nonexistent.Fake.Bogus' try: badiface = UCSCEnsemblInterface(badname) except KeyError: return raise ValueError("Bad sequence name %s has failed to return an error" % badname)
def setUp(self): self.iface = UCSCEnsemblInterface('Bio.Seq.Genome.HUMAN.hg18')