Exemple #1
0
 def setUp(self):
     self.client = app.test_client()
     self.client.post('/login',
                      data={
                          'email': self.employee.email,
                          'password': '******',
                      })
 def setUp(self):
     self.client = app.test_client()
Exemple #3
0
 def setUp(self):
     self.client = app.test_client()
     self.client.post('/login', data={
         'email': self.employee.email,
         'password': '******',
     })
Exemple #4
0
 def setUp(self):
     self.client = app.test_client()
Exemple #5
0
 def setUp(self):
     self.feature = LoginFeature()
     self.client = app.test_client()
     self.user = RegisterUserFeature().register_user('*****@*****.**', '123456')
Exemple #6
0
 def setUp(self):
     self.feature = LoginFeature()
     self.client = app.test_client()
     self.user = RegisterUserFeature().register_user("*****@*****.**", "123456")