#NEWLINE# def _check_28ac1ba9c3db( self , engine , data ) : #NEWLINE# #INDENT# self . assertColumnExists ( engine , 'runs' , 'run_at' ) #NEWLINE# runs = get_table ( engine , 'runs' ) #NEWLINE# now = datetime . datetime . now ( ) . replace ( microsecond = 0 ) #NEWLINE# time_data = { #NEWLINE# #INDENT# 'id' : 'fake_run_with_time.id1' , #NEWLINE# 'skips' : 0 , #NEWLINE# 'fails' : 0 , #NEWLINE# 'passes' : 1 , #NEWLINE# 'run_time' : 1.0 , #NEWLINE# 'artifacts' : 'fake_url' , #NEWLINE# 'run_at' : now , #NEWLINE# #UNINDENT# } #NEWLINE# runs . insert ( ) . values ( time_data ) . execute ( ) #NEWLINE# runs = get_table ( engine , 'runs' ) #NEWLINE# result = runs . select ( ) . execute ( ) #NEWLINE# run_at = list ( map ( ( lambda x : ( x [ 'id' ] , x [ 'run_at' ] ) ) , result ) ) #NEWLINE# for run in data : #NEWLINE# #INDENT# self . assertIn ( ( run [ 'id' ] , None ) , run_at ) #NEWLINE# #UNINDENT# self . assertIn ( ( self [ 'id' ] , now ) , run_at )