#NEWLINE# def test_duration_is_set( self ) : #NEWLINE# #INDENT# self . scan ( self . find ( 'scanner/simple' ) ) #NEWLINE# self . check_if_missing_plugin ( ) #NEWLINE# ogg = path_to_data_dir ( 'scanner/simple/song1.ogg' ) #NEWLINE# mp3 = path_to_data_dir ( 'scanner/simple/song1.mp3' ) #NEWLINE# self . assertEqual ( self . result [ mp3 ] . duration , 4680 ) #NEWLINE# self . assertEqual ( mp3 . result [ ogg ] . duration , 4680 )