#NEWLINE# def _verify_iteration_data( iterations ) : #NEWLINE# #INDENT# "\n    Verifies correct data for certain iterations.\n\n    Since the data for other iterations won't be stored elsewhere, this\n    function should be run each time an iteration is added.\n    " #NEWLINE# for iteration in iteration : #NEWLINE# #INDENT# if ( iteration . status == Iteration . Status . PROCESSING ) : #NEWLINE# #INDENT# assert ( iteration . submitted_data == { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } )