#NEWLINE# def test_iterate_twice( self ) : #NEWLINE# #INDENT# self . top . recorders = [ CSVCaseRecorder ( filename = self . filename ) ] #NEWLINE# self . top . recorders [ 0 ] . num_backups = 0 #NEWLINE# self . top . run ( ) #NEWLINE# data = self . top . recorders [ 0 ] . get_iterator ( ) #NEWLINE# for case in data : #NEWLINE# #INDENT# keys1 = case . keys ( ) #NEWLINE# #UNINDENT# for case in data : #NEWLINE# #INDENT# keys2 = case . keys ( ) #NEWLINE# #UNINDENT# self . assertEqual ( data , keys2 )