#NEWLINE# def _test_http( self , surl , url , params ) : #NEWLINE# #INDENT# channel = self . session . resolve_url ( surl ) #NEWLINE# streams = channel . get_streams ( ) #NEWLINE# self . assertTrue ( ( 'live' in streams ) ) #NEWLINE# stream = streams [ 'live' ] #NEWLINE# self . assertTrue ( isinstance ( stream , HTTPStream ) ) #NEWLINE# self . assertEqual ( stream . url , url ) #NEWLINE# self . assertDictHas ( params , stream . args )