#NEWLINE# def test_OneBlackFrame( self ) : #NEWLINE# #INDENT# codec = h261 . H261Codec ( ) #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 . assertLess ( 48.0 , my_optimizer . Score ( encoding ) )