-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2e77cc8
commit 4d82aca
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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( | ||
|
@@ -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: | ||
|