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()
def setUp(self): self.feature = LoginFeature() self.client = app.test_client() self.user = RegisterUserFeature().register_user('*****@*****.**', '123456')
def setUp(self): self.feature = LoginFeature() self.client = app.test_client() self.user = RegisterUserFeature().register_user("*****@*****.**", "123456")