#NEWLINE# def test_unsubscribe_all( self ) : #NEWLINE# #INDENT# ( msg , handler , subscriber ) = self . get_subscription ( ) #NEWLINE# msg2 = SubsetMessage #NEWLINE# self . hub . subscribe ( subscriber , msg , handler ) #NEWLINE# self . hub . subscribe ( subscriber , msg2 , handler ) #NEWLINE# self . hub . unsubscribe_all ( handler ) #NEWLINE# assert ( not self . hub . is_subscribed ( subscriber , msg ) ) #NEWLINE# assert ( not self . hub . is_subscribed ( subscriber , msg2 ) )