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)
Update the cached (sha1, name) tuples with the supplied list.
dataset/ETHPy150Open ireapps/census/dataprocessing/tests_sf.py/TestSimpleGeographies.test_county--crossover with--dataset/ETHPy150Open bloomberg/phabricator-tools/py/phl/phlgitx_refcache.py/Repo.set_hash_ref_pairs