Exemple #1
0
 def createCommunity():
     # create community
     community = Community(
         zipcode = 14626,
         name = 'First Community')
     community.save()
     return community
Exemple #2
0
 def createSecondCommunity(zipcode, name):
     # create community
     community = Community(
         zipcode = zipcode,
         name = name)
     community.save()
     return community
Exemple #3
0
 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)