#NEWLINE# def test_vs_defect( self ) : #NEWLINE# #INDENT# '\n        Will defect against pure defecting strategies\n        ' #NEWLINE# P1 = axelrod . ProtectedMindReader ( ) #NEWLINE# P2 = axelrod . Defector ( ) #NEWLINE# self . assertEqual ( P1 . strategy ( P2 ) , D )