def test_options(self): """Constructor should take parser as an option.""" result = BlastXMLResult(COMPLETE_XML, parser=MinimalBlastParser7) self.assertEqual(len(list(result.keys())), 1)
def setUp(self): self.result = BlastXMLResult(COMPLETE_XML, xml=True)