Module ImportFrom alias Import alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr BoolOpAnd Call NameLoad NameLoad Str AttributeLoad NameLoad attr Str Assign NameStore Call NameLoad IfExp CompareIn Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Str If NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Call NameLoad NameLoad Call AttributeLoad Str attr keyword NameLoad keyword Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp BoolOpAnd CompareEq AttributeLoad NameLoad attr NameLoad BoolOpOr UnaryOpNot NameLoad CompareEq AttributeLoad NameLoad attr NameLoad BoolOpOr UnaryOpNot NameLoad CompareEq Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad BoolOpOr AttributeLoad NameLoad attr Str attr Str NameLoad Call NameLoad GeneratorExp Call AttributeLoad NameLoad attr comprehension NameStore Call AttributeLoad BoolOpOr NameLoad Str attr Str NameLoad comprehension NameStore NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call NameLoad NameLoad Str NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad IfExp CompareIn Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str ListLoad Num Str decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Return IfExp CompareIsNot NameLoad NameLoad TupleLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad TupleLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad kwarg body Expr Str Return BinOpAdd Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword NameLoad Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad decorator_list decorator_list
N/A __future__ unicode_literals N/A functools N/A base TestCase N/A N/A base TestCase N/A N/A 
    A test case for making assertions about messsages from
    django.contrib.messages in the context of a response.
    
     assertMessage N/A N/A self response content level tags limit N/A None None None N/A N/A 
        Asserts that the response has a particular message in its context.
        
        If limit is provided, checks that there are at most the specified
        number of messages.
        
        If level or tags are specified, checks for existence of message having
        matching content, level and/or tags. Otherwise, it simply checks for a
        message with the content.
        
         N/A N/A N/A self assertTrue N/A N/A hasattr response context N/A response context The response must have a non-empty context attribute. N/A messages N/A list N/A N/A messages N/A response context N/A N/A response context N/A messages N/A N/A N/A N/A self assertTrue N/A bool messages The response's context must contain at least one message. N/A limit N/A N/A N/A N/A self assertGreaterEqual limit N/A len messages N/A N/A The response's context must have at most {limit:d} messages, but it has {actual:d} messages. format limit limit actual N/A len messages N/A N/A N/A self assertTrue N/A any N/A N/A N/A N/A message message content N/A N/A level N/A N/A message level level N/A N/A tags N/A N/A set N/A N/A N/A tag strip N/A tag N/A N/A N/A N/A message tags split tag N/A set N/A N/A N/A tag strip N/A tag N/A N/A N/A tags split tag N/A message messages A message matching the content, level and tags was not found in the response's context. N/A assertNoMessages N/A N/A self response N/A N/A N/A 
        Asserts that the response does not have any messages in its context.
        
         N/A N/A getattr response context None N/A N/A N/A N/A self assertEqual N/A len N/A list N/A N/A messages N/A response context N/A N/A response context N/A messages N/A 0 The response's context must not contain any messages. N/A create_message_assertions N/A N/A self content level tags limit N/A None None None None N/A N/A 
        Returns a tuple of message assertion callbacks for the given arguments.
        
         N/A N/A N/A content None N/A N/A N/A functools partial N/A self assertMessage content content level level tags tags limit limit N/A N/A self assertNoMessages N/A create_response_assertions N/A N/A self message message_level message_tags message_limit N/A None None None None kwargs N/A N/A 
        Adds message assertions to the response assertions.
        
         N/A N/A N/A N/A self create_message_assertions content message level message_level tags message_tags limit message_limit N/A N/A N/A super TestCase self create_response_assertions kwargs N/A N/A