Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr ListLoad Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad attr AttributeLoad NameLoad attr decorator_list Call NameLoad Str decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Dict Str Str ListLoad Str Str ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str Expr Call AttributeLoad NameLoad attr Call NameLoad Str Set Str decorator_list decorator_list
N/A N/A unittest will.mixins.roster RosterMixin will settings will.acl get_acl_members is_acl_allowed mock patch TestIsAdmin N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A self message N/A nick WoOh N/A test_message_is_from_admin_true_if_not_set N/A N/A self mock_get_user_from_message N/A N/A N/A N/A settings ADMINS * N/A N/A mock_get_user_from_message return_value N/A self message N/A N/A N/A self assertTrue N/A N/A N/A RosterMixin message_is_from_admin N/A self message N/A N/A patch will.mixins.roster.RosterMixin.get_user_from_message test_message_is_from_admin_true_if_enlisted N/A N/A self mock_get_user_from_message N/A N/A N/A N/A settings ADMINS N/A wooh N/A N/A mock_get_user_from_message return_value N/A self message N/A N/A N/A self assertTrue N/A N/A N/A RosterMixin message_is_from_admin N/A self message N/A N/A patch will.mixins.roster.RosterMixin.get_user_from_message test_message_is_from_admin_false_if_not_enlisted N/A N/A self mock_get_user_from_message N/A N/A N/A N/A settings ADMINS N/A skoczen N/A N/A mock_get_user_from_message return_value N/A self message N/A N/A N/A self assertFalse N/A N/A N/A RosterMixin message_is_from_admin N/A self message N/A N/A patch will.mixins.roster.RosterMixin.get_user_from_message test_message_is_from_admin_false_if_not_lowercase N/A N/A self mock_get_user_from_message N/A N/A N/A N/A settings ADMINS N/A WoOh N/A N/A mock_get_user_from_message return_value N/A self message N/A N/A N/A self assertFalse N/A N/A N/A RosterMixin message_is_from_admin N/A self message N/A N/A patch will.mixins.roster.RosterMixin.get_user_from_message N/A TestVerifyAcl N/A N/A unittest TestCase N/A setUp N/A N/A self N/A N/A N/A N/A settings ACL N/A ENGINEERING_OPS engineering_devs N/A bob alice N/A eve N/A test_is_acl_allowed_returns_true N/A N/A self N/A N/A N/A N/A N/A self assertTrue N/A is_acl_allowed bob N/A engineering_ops N/A N/A N/A self assertTrue N/A is_acl_allowed alice N/A engineering_ops N/A N/A N/A self assertTrue N/A is_acl_allowed eve N/A engineering_devs N/A N/A N/A self assertTrue N/A is_acl_allowed eve N/A engineering_ops engineering_devs N/A N/A N/A self assertTrue N/A is_acl_allowed alice N/A engineering_ops engineering_devs N/A test_is_acl_allowed_returns_false N/A N/A self N/A N/A N/A N/A N/A self assertFalse N/A is_acl_allowed eve N/A engineering_ops N/A N/A N/A self assertFalse N/A is_acl_allowed bob N/A engineering_devs N/A N/A N/A self assertFalse N/A is_acl_allowed alice N/A engineering_devs N/A N/A N/A self assertFalse N/A is_acl_allowed bob N/A empty_acl N/A N/A