Package repoze :: Package who :: Package tests :: Module test_restrict :: Class PredicateRestrictionTests
[hide private]

Class PredicateRestrictionTests

source code


Nested Classes [hide private]

Inherited from unittest.TestCase: failureException

Instance Methods [hide private]
 
_getTargetClass(self) source code
 
_makeOne(self, app=None, **kw) source code
 
test___call___disabled_predicate_false_calls_app_not_predicate(self) source code
 
test___call___enabled_predicate_false_returns_401(self) source code
 
test___call___enabled_predicate_true_calls_app(self) source code

Inherited from unittest.TestCase: __call__, __eq__, __hash__, __init__, __ne__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, tearDown

Inherited from unittest.TestCase (private): _exc_info

Inherited from object: __delattr__, __format__, __getattribute__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __subclasshook__

Properties [hide private]

Inherited from object: __class__