def test_simple_block(self):
        if config.SUMLEV_BLOCK not in config.SUMLEVS:
            pass

        blocks = self.geographies.find({ 'geoid': '150010210053029' })

        self.assertEqual(blocks.count(), 1)

        block = blocks[0]

        self.assertEqual(block['sumlev'], config.SUMLEV_BLOCK)
        self.assertEqual(block['metadata']['NAME'], 'Block 3029')
        self.assertEqual(block['metadata']['STATE'], '15')
        self.assertEqual(block['metadata']['COUNTY'], '001')
        self.assertEqual(block['metadata']['TRACT'], '021005')

        pop_2000 = 33 
        pop_2010 = 93 
        self._test_totalpop(block, pop_2000, pop_2010)
Data import test against known values for Block 3029 in Tract 210.05, HI.
dataset/ETHPy150Open ireapps/census/dataprocessing/tests_sf.py/TestSimpleGeographies.test_simple_block