#NEWLINE# @ pytest . mark . parametrize ( 'decode_docker_logs' , [ True , False ] ) #NEWLINE# def test_build_logs_api_from_docker( self , osbs , decode_docker_logs ) : #NEWLINE# #INDENT# logs = osbs . get_docker_build_logs ( TEST_BUILD , decode_logs = decode_docker_logs ) #NEWLINE# assert isinstance ( logs , tuple ( ( list ( six . string_types ) + [ bytes ] ) ) ) #NEWLINE# assert ( logs . split ( '\n' ) [ 0 ] . find ( 'Step ' ) != ( - 1 ) )