#NEWLINE# def test_conditions_equal( self ) : #NEWLINE# #INDENT# a = BaseProperty ( ) #NEWLINE# b = BaseProperty ( ) #NEWLINE# self . assertEqual ( a . condition , None ) #NEWLINE# self . assertEqual ( b . condition , None ) #NEWLINE# self . assertTrue ( BaseProperty . _conditions_equal ( a , b ) ) #NEWLINE# a . condition = 'Equals' #NEWLINE# self . assertFalse ( BaseProperty . _conditions_equal ( a , b ) ) #NEWLINE# b . condition = 'Equals' #NEWLINE# self . assertTrue ( BaseProperty . _conditions_equal ( a , b ) ) #NEWLINE# a . apply_condition = 'ALL' #NEWLINE# self . assertFalse ( BaseProperty . _conditions_equal ( a , b ) ) #NEWLINE# a . apply_condition = 'ANY' #NEWLINE# self . assertTrue ( BaseProperty . _conditions_equal ( a , b ) ) #NEWLINE# b . apply_condition = 'ALL' #NEWLINE# self . assertFalse ( BaseProperty . _conditions_equal ( a , b ) ) #NEWLINE# a . apply_condition = 'ALL' #NEWLINE# self . assertTrue ( BaseProperty . _conditions_equal ( a , b ) )