#NEWLINE# def test_query_compatibility( self ) : #NEWLINE# #INDENT# source_platform = 'MySQL' #NEWLINE# target_platform = 'Hive' #NEWLINE# query = 'Select * from (Select item.id from item)' #NEWLINE# resp = self . api . query_compatibility ( source_platform = source_platform , target_platform = target_platform , query = query ) #NEWLINE# assert_equal ( 'successs' , resp [ 'status' ] , resp ) #NEWLINE# details = json . loads ( resp [ 'details' ] ) #NEWLINE# assert_equal ( 'FAIL' , details [ 'platformCompilationStatus' ] [ 'Hive' ] [ 'queryStatus' ] , self )