Ejemplo n.º 1
0
 def test_bad_infile(self):
     logger.debug('Test bad input...')
     assert cmd_lipidhunter.main(self.fail_input_params) is False
Ejemplo n.º 2
0
 def test_pe(self):
     logger.debug('Test sample data... PL')
     assert cmd_lipidhunter.main(self.pass_params_pe) is True
Ejemplo n.º 3
0
 def test_help(self):
     logger.debug('Test help...')
     assert cmd_lipidhunter.main(['-h']) is False
Ejemplo n.º 4
0
 def test_bad_params(self):
     logger.debug('Test bad params...')
     assert cmd_lipidhunter.main(['-test']) is False
Ejemplo n.º 5
0
 def test_tg_H(self):
     logger.debug('Test sample data ... TG [M+H]+')
     assert cmd_lipidhunter.main(self.pass_params_tg_H) is True
Ejemplo n.º 6
0
 def test_pc(self):
     logger.debug("Test sample data... PL")
     assert cmd_lipidhunter.main(self.pass_params_pc) is True
Ejemplo n.º 7
0
 def test_bad_params(self):
     logger.debug("Test bad params...")
     assert cmd_lipidhunter.main(["-test"]) is False
Ejemplo n.º 8
0
 def test_help(self):
     logger.debug("Test help...")
     assert cmd_lipidhunter.main(["-h"]) is False
Ejemplo n.º 9
0
 def test_tg_Na(self):
     logger.debug("Test sample data ... TG [M+Na]+")
     assert cmd_lipidhunter.main(self.pass_params_tg_Na) is True