Skip to content

Commit

Permalink
Update test_users.py
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkShadowCoder committed Nov 15, 2023
1 parent 2e77cc8 commit 4d82aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/users/project/tests/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def test_add_user(self):
self.assertIn('[email protected] 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(
Expand Down Expand Up @@ -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='[email protected]')
with self.client:
Expand Down

0 comments on commit 4d82aca

Please sign in to comment.