Module Expr Str ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad If BoolOpAnd CompareEq AttributeLoad NameLoad attr Str CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad attr Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr AttributeLoad NameLoad attr decorator_list decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return Call NameLoad NameLoad decorator_list
N/A N/A 
Module for custom matchers used in testing
 hamcrest.core.base_matcher BaseMatcher IsWearingMatcher N/A BaseMatcher N/A N/A 
    Matcher to check if character is wearing an item
     __init__ N/A N/A self item slot N/A N/A N/A 
        Default constructor
         N/A N/A N/A N/A super __init__ N/A N/A self item item N/A N/A self slot slot N/A _matches N/A N/A self item N/A N/A N/A 
        Check if matcher matches item

        :param item: object to match against
        :returns: True if matching, otherwise False
        :rtype: Boolean
         N/A inventory N/A item inventory N/A N/A N/A N/A self slot armour N/A N/A inventory armour N/A self item N/A N/A True N/A N/A N/A N/A self slot boots N/A N/A inventory boots N/A self item N/A N/A True N/A False N/A describe_to N/A N/A self description N/A N/A N/A 
        Describe this matcher
         N/A N/A N/A description append N/A N/A Character wearing item {0} format N/A self item N/A describe_mismatch N/A N/A self item mismatch_description N/A N/A N/A 
        Describe this mismatch
         N/A N/A N/A mismatch_description append N/A N/A Character with inventory {0} format N/A item inventory N/A N/A IsInInventoryMatcher N/A BaseMatcher N/A N/A 
    Matcher to check if character has item in inventory
     __init__ N/A N/A self item N/A N/A N/A 
        Default constructor
         N/A N/A N/A N/A super __init__ N/A N/A self item item N/A _matches N/A N/A self item N/A N/A N/A 
        Check if matcher matches item

        :param item: object to match against
        :returns: True if matching, otherwise False
        :rtype: Boolean
         N/A N/A N/A self item N/A item inventory N/A describe_to N/A N/A self description N/A N/A N/A 
        Describe this matcher
         N/A N/A N/A description append N/A N/A Character carrying item {0} format N/A self item N/A describe_mismatch N/A N/A self item mismatch_description N/A N/A N/A 
        Describe this mismatch
         N/A N/A N/A mismatch_description append N/A N/A Character with inventory {0} format N/A item inventory N/A N/A is_wearing_armour N/A N/A item N/A N/A N/A 
    Check if character is wearing an item
     N/A N/A IsWearingMatcher item armour N/A is_wearing_boots N/A N/A item N/A N/A N/A 
    Check if character is wearing boots
     N/A N/A IsWearingMatcher item boots N/A does_have N/A N/A item N/A N/A N/A 
    Check if character has the item in inventory
     N/A N/A IsInInventoryMatcher item N/A