def setUp(self): self.user = UserFactory.create(email='*****@*****.**', first_name='Test', last_name='User') self.user.set_password('test') self.user.save()
def setUp(self): self.required_fields = ['email', 'first_name', 'last_name', 'password'] self.not_required_fields = ['id'] self.user = UserFactory.create(email='*****@*****.**')