Exemple #1
0
 def createUserTwo(community=None):
     # create second user
     if community is None:
         community = createCommunity()
     user2 = ourUser(
         community = community,
         zipcode = 14626,
         age = datetime.datetime(1993, 1, 4),
         address = '4 Circle Street',
         username = '******',
         password = '******')
     user2.save()
     return user2
Exemple #2
0
 def createUserOne(community=None):
     # create first user
     if community is None:
         community = createCommunity()
     user1 = ourUser(
         community = community,
         age = datetime.datetime(1992, 7, 31),
         zipcode = 14626,
         address = '3 Circle Street',
         username = '******',
         password = '******')
     user1.save()
     return user1