def test_all_succeeds(self): sm = SecurityManager() # accepts old = self.setSecurityManager(sm) self.assertEqual(guarded_all([True,True,False]), False) self.setSecurityManager(old)
def test_all_succeeds(self): sm = SecurityManager() # accepts old = self.setSecurityManager(sm) self.assertEqual(guarded_all([True, True, False]), False) self.setSecurityManager(old)