#NEWLINE# def test_place( self ) : #NEWLINE# #INDENT# '\n        Data import test against known values that Pearl City CDP, HI should have.\n        ' #NEWLINE# places = self . geographies . find ( { #NEWLINE# #INDENT# 'geoid' : '1562600' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertEqual ( places . count ( ) , 1 ) #NEWLINE# place = places [ 0 ] #NEWLINE# self . assertEqual ( place [ 'sumlev' ] , config . SUMLEV_PLACE ) #NEWLINE# self . assertEqual ( place [ 'metadata' ] [ 'NAME' ] , 'Pearl City CDP' ) #NEWLINE# self . assertEqual ( place [ 'metadata' ] [ 'STATE' ] , '15' ) #NEWLINE# self . assertEqual ( place [ 'metadata' ] [ 'PLACE' ] , '62600' ) #NEWLINE# pop_2000 = 30976 #NEWLINE# pop_2010 = 47698 #NEWLINE# self . _test_totalpop ( place , pop_2000 , pop_2010 )