Module TryExcept body Import alias identifier handlers ExceptHandler type NameLoad body Import alias ImportFrom alias alias alias Import alias ClassDef bases AttributeLoad NameLoad attr body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad Return BoolOpAnd NameLoad Call AttributeLoad NameLoad attr Num decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Str For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call NameLoad Str keyword NameLoad Expr Call AttributeLoad NameLoad attr NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad decorator_list decorator_list
N/A N/A N/A N/A unittest2 unittest N/A N/A N/A ImportError N/A N/A unittest cassandra Unavailable Timeout ConsistencyLevel N/A re ConsistencyExceptionTest N/A N/A unittest TestCase N/A N/A 
    Verify Cassandra Exception string representation
     extract_consistency N/A N/A self msg N/A N/A N/A 
        Given message that has 'consistency': 'value', extract consistency value as a string
        :param msg: message with consistency value
        :return: String representing consistency value
         N/A match N/A N/A re search 'consistency':\s+'([\w\s]+)' msg N/A N/A match N/A N/A match group 1 N/A test_timeout_consistency N/A N/A self N/A N/A N/A 
        Verify that Timeout exception object translates consistency from input value to correct output string
         N/A consistency_str N/A N/A self extract_consistency N/A repr N/A Timeout Timeout Message consistency None N/A N/A N/A self assertEqual consistency_str Not Set N/A c N/A N/A N/A ConsistencyLevel value_to_name keys N/A N/A consistency_str N/A N/A self extract_consistency N/A repr N/A Timeout Timeout Message consistency c N/A N/A N/A self assertEqual consistency_str N/A N/A ConsistencyLevel value_to_name N/A c N/A test_unavailable_consistency N/A N/A self N/A N/A N/A 
        Verify that Unavailable exception object translates consistency from input value to correct output string
         N/A consistency_str N/A N/A self extract_consistency N/A repr N/A Unavailable Unavailable Message consistency None N/A N/A N/A self assertEqual consistency_str Not Set N/A c N/A N/A N/A ConsistencyLevel value_to_name keys N/A N/A consistency_str N/A N/A self extract_consistency N/A repr N/A Unavailable Timeout Message consistency c N/A N/A N/A self assertEqual consistency_str N/A N/A ConsistencyLevel value_to_name N/A c N/A N/A