def test_place(self):
        places = self.geographies.find({ 'geoid': '1562600' })

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

        place = places[0]

        self.assertEqual(place['sumlev'], config.SUMLEV_PLACE)
        self.assertEqual(place['metadata']['NAME'], 'Pearl City CDP')
        self.assertEqual(place['metadata']['STATE'], '15')
        self.assertEqual(place['metadata']['PLACE'], '62600')

        pop_2000 = 30976
        pop_2010 = 47698 
        self._test_totalpop(place, pop_2000, pop_2010)
Data import test against known values that Pearl City CDP, HI should have.
dataset/ETHPy150Open ireapps/census/dataprocessing/tests_sf.py/TestSimpleGeographies.test_place