#NEWLINE# def test_remove_target( self ) : #NEWLINE# #INDENT# test_criterion = CRITERION4 . remove_target ( CRITERION1 ) #NEWLINE# answer_criterion = CRITERION2 #NEWLINE# self . assertEqual ( test_criterion , answer_criterion ) #NEWLINE# test_criterion = CRITERION4 . remove_target ( CRITERION2 ) #NEWLINE# answer_criterion = CRITERION1 #NEWLINE# self . assertEqual ( test_criterion , answer_criterion ) #NEWLINE# test_criterion = ( CRITERION1 & CRITERION5 ) . remove_target ( CRITERION1 ) #NEWLINE# answer_criterion = CRITERION5 #NEWLINE# self . assertEqual ( test_criterion , answer_criterion ) #NEWLINE# test_criterion = CRITERION1 . remove_target ( CRITERION1 ) #NEWLINE# answer_criterion = None #NEWLINE# self . assertEqual ( test_criterion , answer_criterion ) #NEWLINE# test_criterion = CRITERION3 . remove_target ( CRITERION3 ) #NEWLINE# answer_criterion = None #NEWLINE# self . assertEqual ( test_criterion , answer_criterion ) #NEWLINE# self . assertRaises ( ParselmouthException , CRITERION3 . remove_target , CRITERION2 ) #NEWLINE# self . assertRaises ( ParselmouthException , CRITERION5 . remove_target , CRITERION4 ) #NEWLINE# self . assertRaises ( ParselmouthException , ( CRITERION1 & CRITERION5 ) . remove_target , CRITERION5 )