def test_label(self):
        table = self.labels.find_one({ 'dataset': 'SF1' })['tables']['P12F']
        label = table['labels']['P012F001']

        self.assertEqual(label['text'], 'Total:')
        self.assertEqual(label['parent'], None)
        self.assertEqual(label['indent'], 0)
P12F.,1,0,Total:,,,,,,,,
dataset/ETHPy150Open ireapps/census/dataprocessing/tests_sf.py/TestLabels.test_label