#NEWLINE# def test_https_endpoint( ) : #NEWLINE# #INDENT# td = api . API ( 'apikey' , endpoint = 'https://api.example.com/' ) #NEWLINE# assert isinstance ( td . http , urllib3 . PoolManager ) #NEWLINE# ( url , headers ) = td . build_request ( ) #NEWLINE# assert ( 'https://api.example.com/' == url )