Module Expr Str ImportFrom alias TryExcept body ImportFrom alias handlers ExceptHandler type NameLoad body ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr BinOpMod Str TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr AttributeLoad NameLoad attr Str keyword NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign AttributeStore AttributeLoad AttributeLoad NameLoad attr attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Str decorator_list decorator_list
N/A N/A 
This is part of Evennia's unittest framework, for testing
the stability and integrity of the codebase during updates.

This module tests the lock functionality of Evennia.

 evennia.utils.test_resources EvenniaTest N/A N/A django.utils.unittest TestCase N/A N/A N/A ImportError N/A django.test TestCase evennia.locks lockfuncs TestLockCheck N/A EvenniaTest N/A testrun N/A N/A self N/A N/A N/A dbref N/A N/A self obj2 dbref N/A N/A N/A N/A N/A self obj1 locks add N/A owner:dbref(%s);edit:dbref(%s) or perm(Wizards);examine:perm(Builders) and id(%s);delete:perm(Wizards);get:all() N/A dbref dbref dbref N/A N/A N/A N/A N/A self obj2 permissions add Wizards N/A N/A N/A self assertEquals True N/A N/A N/A N/A self obj1 locks check N/A self obj2 owner N/A N/A N/A self assertEquals True N/A N/A N/A N/A self obj1 locks check N/A self obj2 edit N/A N/A N/A self assertEquals True N/A N/A N/A N/A self obj1 locks check N/A self obj2 examine N/A N/A N/A self assertEquals True N/A N/A N/A N/A self obj1 locks check N/A self obj2 delete N/A N/A N/A self assertEquals True N/A N/A N/A N/A self obj1 locks check N/A self obj2 get N/A N/A N/A N/A N/A self obj1 locks add get:false() N/A N/A N/A self assertEquals False N/A N/A N/A N/A self obj1 locks check N/A self obj2 get N/A N/A N/A self assertEquals True N/A N/A N/A N/A self obj1 locks check N/A self obj2 not_exist default True N/A N/A TestLockfuncs N/A EvenniaTest N/A testrun N/A N/A self N/A N/A N/A N/A N/A N/A N/A self obj2 permissions add Wizards N/A N/A N/A self assertEquals True N/A N/A lockfuncs true N/A self obj2 N/A self obj1 N/A N/A N/A self assertEquals False N/A N/A lockfuncs false N/A self obj2 N/A self obj1 N/A N/A N/A self assertEquals True N/A N/A lockfuncs perm N/A self obj2 N/A self obj1 Wizards N/A N/A N/A self assertEquals True N/A N/A lockfuncs perm_above N/A self obj2 N/A self obj1 Builders N/A dbref N/A N/A self obj2 dbref N/A N/A N/A self assertEquals True N/A N/A lockfuncs dbref N/A self obj2 N/A self obj1 N/A %s dbref N/A N/A N/A N/A self obj2 db testattr 45 N/A N/A N/A self assertEquals True N/A N/A lockfuncs attr N/A self obj2 N/A self obj1 testattr 45 N/A N/A N/A self assertEquals False N/A N/A lockfuncs attr_gt N/A self obj2 N/A self obj1 testattr 45 N/A N/A N/A self assertEquals True N/A N/A lockfuncs attr_ge N/A self obj2 N/A self obj1 testattr 45 N/A N/A N/A self assertEquals False N/A N/A lockfuncs attr_lt N/A self obj2 N/A self obj1 testattr 45 N/A N/A N/A self assertEquals True N/A N/A lockfuncs attr_le N/A self obj2 N/A self obj1 testattr 45 N/A N/A N/A self assertEquals False N/A N/A lockfuncs attr_ne N/A self obj2 N/A self obj1 testattr 45 N/A N/A