def test_simple_tract(self):
        tracts = self.geographies.find({ 'geoid': '15007040500' })

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

        tract = tracts[0]

        self.assertEqual(tract['sumlev'], config.SUMLEV_TRACT)
        self.assertEqual(tract['metadata']['NAME'], 'Census Tract 405')
        self.assertEqual(tract['metadata']['STATE'], '15')
        self.assertEqual(tract['metadata']['COUNTY'], '007')

        pop_2000 = 5162 
        pop_2010 = 5943 
        self._test_totalpop(tract, pop_2000, pop_2010)
Data import test against known values that Tract 405, HI should have.
dataset/ETHPy150Open ireapps/census/dataprocessing/tests_sf.py/TestSimpleGeographies.test_simple_tract