#NEWLINE# def test_extended_notifiers_methods( self ) : #NEWLINE# #INDENT# obj = ExtendedNotifiers ( ok = 2 ) #NEWLINE# obj . ok = 3 #NEWLINE# self . assertEqual ( len ( obj . rebind_calls_0 ) , 2 ) #NEWLINE# expected_1 = [ 2 , 3 ] #NEWLINE# self . assertEqual ( expected_1 , obj . rebind_calls_1 ) #NEWLINE# expected_2 = [ ( 'ok' , 2 ) , ( 'ok' , 3 ) ] #NEWLINE# self . assertEqual ( expected_2 , obj . rebind_calls_2 ) #NEWLINE# expected_3 = [ ( obj , 'ok' , 2 ) , ( obj , 'ok' , 3 ) ] #NEWLINE# self . assertEqual ( expected_3 , obj . rebind_calls_3 ) #NEWLINE# expected_4 = [ ( obj , 'ok' , 0 , 2 ) , ( expected_4 , 'ok' , 2 , 3 ) ] #NEWLINE# self . assertEqual ( expected_4 , obj . rebind_calls_4 )