twisted.spread.test.test_pb.LeakyRealm(TestRealm)
class documentationtwisted.spread.test.test_pb
(View In Hierarchy)
A realm which hangs onto a reference to the mind object in its logout function.
Method | __init__ | Create a LeakyRealm . |
Method | requestAvatar | Verify that the mind and interface supplied have the expected values (this should really be done somewhere else, like inside a test method) and return an avatar appropriate for the given identifier. |
Inherited from TestRealm:
Instance Variable | lastPerspective | The MyPerspective
most recently created and returned from requestAvatar . |
Instance Variable | perspectiveFactory | A one-argument callable which will be used to create avatars to be returned
from requestAvatar . |
Create a LeakyRealm
.
Parameters | mindEater | a callable that will be called with the mind object when it is
available |