#NEWLINE# def test_s3_url( self ) : #NEWLINE# #INDENT# p = urlparse ( 's3://bucket/key/name?param=value' ) #NEWLINE# self . assertEquals ( p . scheme , 's3' ) #NEWLINE# self . assertEquals ( p . hostname , 'bucket' ) #NEWLINE# self . assertEquals ( p . path , '/key/name' ) #NEWLINE# self . assertEquals ( p . query , 'param=value' )