#NEWLINE# @ with_protocol #NEWLINE# def test_write_memory_with_commit_delay( self , t ) : #NEWLINE# #INDENT# t . child . timeout = 10 #NEWLINE# enable ( t ) #NEWLINE# start_time = time ( ) #NEWLINE# t . write ( 'write memory' ) #NEWLINE# t . readln ( 'Building configuration...' ) #NEWLINE# t . readln ( 'OK' ) #NEWLINE# t . read ( 'my_switch#' ) #NEWLINE# end_time = time ( ) #NEWLINE# assert_that ( ( end_time - start_time ) , greater_than ( COMMIT_DELAY ) )