#NEWLINE# def testSetURLHTTPS( self ) : #NEWLINE# #INDENT# import httplib #NEWLINE# connection = UWS . connection . Connection ( 'https://www.example.com/uws/' , user = 'admin' , password = 'admin' ) #NEWLINE# self . assertEqual ( connection . url , 'https://www.example.com/uws' ) #NEWLINE# self . assertEqual ( connection . clean_url , 'www.example.com' ) #NEWLINE# self . assertEqual ( connection . base_path , '/uws' ) #NEWLINE# self . assertIsInstance ( self . connection , httplib . HTTPSConnection )