Esempio n. 1
0
 def test_taxadumpparser_setnodes_true(self):
     """Check methods returns True"""
     dp = TaxaDumpParser()
     self.assertTrue(dp.set_nodes_file(self.nodes))
Esempio n. 2
0
 def test_taxadumpparser_setnodes_true(self):
     """Check methods returns True"""
     dp = TaxaDumpParser()
     self.assertTrue(dp.set_nodes_file(self.nodes))
Esempio n. 3
0
 def test_taxadumpparser_setnodes_throws(self):
     """Check method throws when None arg is given"""
     dp = TaxaDumpParser()
     with self.assertRaises(SystemExit):
         dp.set_nodes_file(None)
Esempio n. 4
0
 def test_taxadumpparser_setnodes_throws(self):
     """Check method throws when None arg is given"""
     dp = TaxaDumpParser()
     with self.assertRaises(SystemExit):
         dp.set_nodes_file(None)