def test_is_posix_exception_invalid_name(self): compileman = CompileMan() with self.assertRaises(Exception): compileman.is_posix('not_valid')
def test_is_posix_true_2(self): compileman = CompileMan() is_posix_result = compileman.is_posix('linux2') self.assertTrue(is_posix_result)
def test_is_posix_true_3(self): compileman = CompileMan() is_posix_result = compileman.is_posix('darwin') self.assertTrue(is_posix_result)
def test_is_posix_false(self): compileman = CompileMan() is_posix_result = compileman.is_posix('win32') self.assertFalse(is_posix_result)