Beispiel #1
0
 def delete(self):
     """Delete current User"""
     return UserService.delete()
Beispiel #2
0
    def test_delete_user(self):
        user = UserModel(user_schema.load(self.user1))
        user.save()

        res = UserService.delete()
        self.assertEqual(res.status_code, 204)