コード例 #1
0
ファイル: test_utils.py プロジェクト: b97jre/snakemakelib
 def test_is_installed(self):
     """Test function for checking that program is installed or that path exists"""
     self.assertTrue (is_installed("ls"))
     self.assertTrue(is_installed("/bin/ls"))
     self.assertTrue(is_installed("/bin"))
     self.assertFalse(is_installed("ls2"))