def test_county(self):
        counties = self.geographies.find({ 'geoid': '15009' })

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

        county = counties[0]

        self.assertEqual(county['sumlev'], config.SUMLEV_COUNTY)
        self.assertEqual(county['metadata']['NAME'], 'Maui County')
        self.assertEqual(county['metadata']['STATE'], '15')
        self.assertEqual(county['metadata']['COUNTY'], '009')

        pop_2000 = 128094 
        pop_2010 = 154834
        self._test_totalpop(county, pop_2000, pop_2010)
Data import test against known values that Maui County, HI should have.
dataset/ETHPy150Open ireapps/census/dataprocessing/tests_sf.py/TestSimpleGeographies.test_county