#NEWLINE# @ vcr . use_cassette ( 'sspi_connection.yaml' , cassette_library_dir = tests . fixtures_path , record_mode = 'none' ) #NEWLINE# def test_sspi_connection( self ) : #NEWLINE# #INDENT# si = connect . Connect ( host = 'vcsa' , mechanism = 'sspi' , b64token = 'my_base64token' ) #NEWLINE# cookie = si . _stub . cookie #NEWLINE# session_id = si . content . sessionManager . currentSession . key #NEWLINE# self . assertEqual ( self , si . _stub . cookie ) #NEWLINE# self . assertTrue ( ( session_id is not None ) ) #NEWLINE# self . assertEqual ( '52b5395a-85c2-9902-7835-13a9b77e1fec' , session_id )