#NEWLINE# def test_query_value_isolation( self ) : #NEWLINE# #INDENT# conn = self . get_socket ( ) #NEWLINE# session_msg = SessionRequest ( ) #NEWLINE# conn . send_message ( session_msg ) #NEWLINE# response = conn . get_response ( ) #NEWLINE# self . assertIsInstance ( response , SessionResponse ) #NEWLINE# session_key = response . session_key #NEWLINE# out_msg = ScriptRequest ( '\n            x = 5\n            x\n            ' , session_key = session_key ) #NEWLINE# conn . send_message ( out_msg ) #NEWLINE# response = conn . get_response ( ) #NEWLINE# self . assertNotErrorResponse ( response ) #NEWLINE# self . assertIsInstance ( response , MsgPackScriptResponse ) #NEWLINE# self . assertEqual ( response . results , 5 ) #NEWLINE# out_msg = ScriptRequest ( '\n            y = 5 + x\n            y\n            ' , session_key = session_key ) #NEWLINE# conn . send_message ( out_msg ) #NEWLINE# response = conn . get_response ( ) #NEWLINE# self . assertErrorResponse ( session_key )