#NEWLINE# def test_label( self ) : #NEWLINE# #INDENT# '\n        P12F.,1,0,Total:,,,,,,,,\n        ' #NEWLINE# table = self . labels . find_one ( { #NEWLINE# #INDENT# 'dataset' : 'SF1' , #NEWLINE# #UNINDENT# } ) [ 'tables' ] [ 'P12F' ] #NEWLINE# label = table [ 'labels' ] [ 'P012F001' ] #NEWLINE# self . assertEqual ( label [ 'text' ] , 'Total:' ) #NEWLINE# self . assertEqual ( label [ 'parent' ] , None ) #NEWLINE# self . assertEqual ( table [ 'indent' ] , 0 )