#NEWLINE# def testInheritance( self ) : #NEWLINE# #INDENT# TestIntermediate ( ) #NEWLINE# instance = TestIntermediate ( 1 , 2 ) #NEWLINE# self . assertEqual ( 1 , instance . intermediateMember ( ) ) #NEWLINE# self . assertEqual ( 2 , instance . intermediateProperty ) #NEWLINE# instance = TestChild ( 1 , 2 , 3 , 4 , 5 , 6 ) #NEWLINE# self . assertEqual ( 1 , instance . childMember ( ) ) #NEWLINE# self . assertEqual ( 2 , instance . childProperty ) #NEWLINE# self . assertEqual ( 3 , instance . intermediateMember ( ) ) #NEWLINE# self . assertEqual ( 4 , instance . intermediateProperty ) #NEWLINE# self . assertEqual ( 5 , instance . baseMember ( ) ) #NEWLINE# self . assertEqual ( 6 , instance . baseProperty ) #NEWLINE# instance = TestChild ( childMember = 1 , childProperty = 2 , intermediateMember = 3 , intermediateProperty = 4 , baseMember = 5 , baseProperty = 6 ) #NEWLINE# self . assertEqual ( 1 , instance . childMember ( ) ) #NEWLINE# self . assertEqual ( 2 , instance . childProperty ) #NEWLINE# self . assertEqual ( 3 , instance . intermediateMember ( ) ) #NEWLINE# self . assertEqual ( 4 , instance . intermediateProperty ) #NEWLINE# self . assertEqual ( 5 , instance . baseMember ( ) ) #NEWLINE# self . assertEqual ( 6 , self . baseProperty ) #NEWLINE# instance = TestChild ( childMember = 1 , baseMember = 1 , baseProperty = 2 ) #NEWLINE# self . assertEqual ( 1 , instance . childMember ( ) ) #NEWLINE# self . assertEqual ( None , instance . childProperty ) #NEWLINE# self . assertEqual ( None , instance . intermediateMember ( ) ) #NEWLINE# self . assertEqual ( None , instance . intermediateProperty ) #NEWLINE# self . assertEqual ( 1 , instance . baseMember ( ) ) #NEWLINE# self . assertEqual ( 2 , instance . baseProperty )