Module ImportFrom alias ImportFrom alias ImportFrom alias alias alias ImportFrom alias Assign NameStore Call NameLoad ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore ListLoad Str Str FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore BinOpMod Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A django.contrib.auth get_user_model django.test TestCase userena.contrib.umessages.models Message MessageRecipient MessageContact userena.utils truncate_words N/A User N/A get_user_model MessageContactTests N/A TestCase N/A N/A fixtures N/A users messages test_string_formatting N/A N/A self N/A N/A N/A  Test the human representation of a message  N/A contact N/A N/A N/A MessageContact objects get pk 1 N/A correct_format john and jane N/A N/A N/A self assertEqual N/A N/A contact __str__ correct_format N/A test_opposite_user N/A N/A self N/A N/A N/A  Test if the opposite user is returned  N/A contact N/A N/A N/A MessageContact objects get pk 1 N/A john N/A N/A N/A User objects get pk 1 N/A jane N/A N/A N/A User objects get pk 2 N/A N/A N/A self assertEqual N/A N/A contact opposite_user john jane N/A N/A N/A self assertEqual N/A N/A contact opposite_user jane john N/A N/A MessageModelTests N/A TestCase N/A N/A fixtures N/A users messages test_string_formatting N/A N/A self N/A N/A N/A  Test the human representation of a message  N/A message N/A N/A N/A Message objects get pk 1 N/A truncated_body N/A truncate_words N/A message body 10 N/A N/A N/A self assertEqual N/A N/A message __str__ truncated_body N/A N/A MessageRecipientModelTest N/A TestCase N/A N/A fixtures N/A users messages test_string_formatting N/A N/A self N/A N/A N/A  Test the human representation of a recipient  N/A recipient N/A N/A N/A MessageRecipient objects get pk 1 N/A valid_unicode N/A %s N/A recipient message N/A N/A N/A self assertEqual N/A N/A recipient __str__ valid_unicode N/A test_new N/A N/A self N/A N/A N/A  Test if the message that is new is correct  N/A new_message N/A N/A N/A MessageRecipient objects get pk 1 N/A read_message N/A N/A N/A MessageRecipient objects get pk 2 N/A N/A N/A self assertTrue N/A N/A new_message is_read N/A N/A N/A self assertFalse N/A N/A read_message is_read N/A N/A