From 4d82acab0d27cbec5c31117084c9e196e9de1408 Mon Sep 17 00:00:00 2001 From: Blackdot Date: Wed, 15 Nov 2023 01:25:13 +0100 Subject: [PATCH] Update test_users.py --- services/users/project/tests/test_users.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/users/project/tests/test_users.py b/services/users/project/tests/test_users.py index f10d082..6e4c878 100644 --- a/services/users/project/tests/test_users.py +++ b/services/users/project/tests/test_users.py @@ -40,7 +40,7 @@ def test_add_user(self): self.assertIn('eivoslandry@gmail.com swas added!' , data['message']) self.assertIn('success' , data['status']) - def tes_add_user_invalid_json(self): + def test_add_user_invalid_json(self): """ Ensure error is thrown if the JSON is empty""" with self.client: response = self.client.post( @@ -92,7 +92,7 @@ def test_add_user_duplicate_email(self): ) self.assertIn('fail' , data['status']) - def tes_single_user(self): + def test_single_user(self): """ Ensure get single user behaves correctly.""" user = User(username='blackdot', email='eivoslandry@gmail.com') with self.client: