Пример #1
0
 def test_all_succeeds(self):
     sm = SecurityManager() # accepts
     old = self.setSecurityManager(sm)
     self.assertEqual(guarded_all([True,True,False]), False)
     self.setSecurityManager(old)
Пример #2
0
 def test_all_succeeds(self):
     sm = SecurityManager()  # accepts
     old = self.setSecurityManager(sm)
     self.assertEqual(guarded_all([True, True, False]), False)
     self.setSecurityManager(old)