#NEWLINE# def test_table_row( self ) : #NEWLINE# #INDENT# self . table = MyTable ( self . request , TEST_DATA ) #NEWLINE# row = self . table . get_rows ( ) [ 0 ] #NEWLINE# self . assertEqual ( self . table , row . table ) #NEWLINE# self . assertEqual ( TEST_DATA [ 0 ] , row . datum ) #NEWLINE# self . assertEqual ( 'my_table__row__1' , row . id ) #NEWLINE# self . assertEqual ( True , row . status ) #NEWLINE# self . assertEqual ( 'status_up' , row . status_class ) #NEWLINE# cell_status = row . cells [ 'status' ] . status #NEWLINE# self . assertEqual ( True , row ) #NEWLINE# self . assertEqual ( 'status_up' , row . cells [ 'status' ] . get_status_class ( cell_status ) )