def test_confstr(self):
     if hasattr(posix, 'confstr'):
         self.assertRaises(ValueError, posix.confstr, "CS_garbage")
         self.assertEqual(len(posix.confstr("CS_PATH")) > 0, True)
Beispiel #2
0
 def test_confstr(self):
     if hasattr(posix, 'confstr'):
         self.assertRaises(ValueError, posix.confstr, "CS_garbage")
         self.assertEqual(len(posix.confstr("CS_PATH")) > 0, True)