#NEWLINE# def testFailsIfBadActionCount( self ) : #NEWLINE# #INDENT# def set_count( ) : #NEWLINE# #INDENT# self . state . action_count = 'x' #NEWLINE# #UNINDENT# self . assertRaises ( AssertionError , set_count )