#NEWLINE# def test_get_index_list( self ) : #NEWLINE# #INDENT# index_list = self . nse . get_index_list ( ) #NEWLINE# index_list_json = self . nse . get_index_list ( as_json = True ) #NEWLINE# self . assertIsInstance ( index_list , list ) #NEWLINE# self . assertIsInstance ( index_list_json , str ) #NEWLINE# self . assertListEqual ( index_list , json . loads ( index_list_json ) )