def createCommunity(): # create community community = Community( zipcode = 14626, name = 'First Community') community.save() return community
def createSecondCommunity(zipcode, name): # create community community = Community( zipcode = zipcode, name = name) community.save() return community
def setUp(self): # create community community = Community( zipcode = 14626, name = 'First Community') community.save() # create community wall community_wall = communityWall( wall_name = 'Test Wall Name', community = community)