Пример #1
0
def initial_contacts():
    change_ourdetail()  # contact 1
    create_individual('Avrel', 'Dalton')  # contact 2
    create_individual('William', 'Dalton')  # contact 3
    create_individual('Jack', 'Dalton')  # contact 4
    create_individual('Joe', 'Dalton')  # contact 5
    create_individual('Lucky', 'Luke')  # contact 6
    change_legal("Minimum")  # contact 7
    change_legal("Maximum")  # contact 8
Пример #2
0
 def setUp(self):
     self.xfer_class = XferContainerAcknowledge
     LucteriosTest.setUp(self)
     self.factory.user = AnonymousUser()
     change_ourdetail()
     create_jack(
         LucteriosUser.objects.create(first_name='jack',
                                      last_name='MISTER',
                                      username='******',
                                      email='*****@*****.**'))
Пример #3
0
 def setUp(self):
     LucteriosTest.setUp(self)
     change_ourdetail()
     create_jack(add_empty_user())
     rmtree(get_user_dir(), True)
Пример #4
0
 def setUp(self):
     self.xfer_class = XferContainerAcknowledge
     LucteriosTest.setUp(self)
     rmtree(get_user_dir(), True)
     change_ourdetail()
Пример #5
0
 def setUp(self):
     LucteriosTest.setUp(self)
     change_ourdetail()
     create_jack(add_empty_user())
     rmtree(get_user_dir(), True)
Пример #6
0
 def setUp(self):
     self.xfer_class = XferContainerAcknowledge
     change_ourdetail()
     LucteriosTest.setUp(self)
     rmtree(get_user_dir(), True)
     self.server.start(1025)
Пример #7
0
 def setUp(self):
     self.xfer_class = XferContainerAcknowledge
     LucteriosTest.setUp(self)
     change_ourdetail()
     create_jack()