#NEWLINE# def test_network( self ) : #NEWLINE# #INDENT# '\n        This test will assert <b> info Network </b> output for heading, headerline1, headerline2\n        and no of row displayed in output\n        ToDo: test for values as well\n        ' #NEWLINE# exp_heading = '~~Network Information~~' #NEWLINE# exp_header = [ 'Node' , 'Node Id' , 'Ip' , 'Build' , 'Cluster Size' , 'Cluster Key' , 'Cluster Integrity' , 'Principal' , 'Client Conns' , 'Uptime' ] #NEWLINE# exp_no_of_rows = len ( TestInfo . rc . cluster . nodes ) #NEWLINE# ( actual_heading , actual_header , actual_no_of_rows ) = test_util . parse_output ( TestInfo . network_info , horizontal = True ) #NEWLINE# self . assertTrue ( ( exp_heading in actual_heading ) ) #NEWLINE# self . assertEqual ( exp_header , actual_header ) #NEWLINE# self . assertEqual ( exp_no_of_rows , int ( actual_no_of_rows . strip ( ) ) )