#NEWLINE# def test_OneBlackFrame( self ) : #NEWLINE# #INDENT# codec = CopyingCodec ( ) #NEWLINE# my_optimizer = optimizer . Optimizer ( codec ) #NEWLINE# videofile = test_tools . MakeYuvFileWithOneBlankFrame ( 'one_black_frame_1024_768_30.yuv' ) #NEWLINE# encoding = my_optimizer . BestEncoding ( 1000 , videofile ) #NEWLINE# encoding . Execute ( ) #NEWLINE# self . assertTrue ( encoding . Result ( ) ) #NEWLINE# self . assertIn ( 'encode_cputime' , encoding . Result ( ) ) #NEWLINE# self . assertIn ( 'encode_clocktime' , encoding . Result ( ) ) #NEWLINE# self . assertIn ( 'yuv_md5' , encoding . Result ( ) )