#NEWLINE# def test_BitrateSensitivity( self ) : #NEWLINE# #INDENT# codec = openh264 . OpenH264Codec ( ) #NEWLINE# my_optimizer = optimizer . Optimizer ( self ) #NEWLINE# videofile = test_tools . MakeYuvFileWithNoisyFrames ( 'many_noisy_frames_1024_768_30.yuv' , 10 ) #NEWLINE# encoding1 = my_optimizer . BestEncoding ( 1000 , videofile ) #NEWLINE# encoding1 . Execute ( ) #NEWLINE# encoding2 = my_optimizer . BestEncoding ( 10 , videofile ) #NEWLINE# encoding2 . Execute ( ) #NEWLINE# self . assertNotEquals ( encoding1 . result [ 'bitrate' ] , encoding2 . result [ 'bitrate' ] )