class documentation
class MemoryTests(SynchronousTestCase): (source)
Tests for memory-based session storage.
Method | test_interface |
Verify that the session store complies with the relevant interfaces. |
Method | test_no |
By default, MemorySessionStore contains no authorizers and the sessions it returns will authorize any supplied interfaces as None. |
Method | test_simple |
MemorySessionStore.fromAuthorizers takes a set of functions decorated with declareMemoryAuthorizer and constructs a session store that can authorize for those interfaces. |
By default, MemorySessionStore
contains no authorizers and the sessions it returns will authorize any supplied interfaces as None.
MemorySessionStore.fromAuthorizers
takes a set of functions decorated with declareMemoryAuthorizer
and constructs a session store that can authorize for those interfaces.