-
Notifications
You must be signed in to change notification settings - Fork 3
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
f220bb3
commit 0df6121
Showing
2 changed files
with
4 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
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 |
---|---|---|
|
@@ -62,7 +62,7 @@ def test_get_token_bad_email(self, mock_post): | |
headers={'content-type': 'application/json'}, | ||
json={'user': {'email': '[email protected]', 'password': 'test_pass_123'}} | ||
) | ||
# self.assertEqual(fb.error, 'ERROR: Incorrect email address or password.') | ||
self.assertEqual(fb.error, 'HTTP ERROR: Incorrect email address or password.') | ||
self.assertIsNone(fb.token) | ||
self.assertEqual(mock_post.return_value.status_code, 422) | ||
|
||
|
@@ -80,7 +80,7 @@ def test_get_token_bad_server(self, mock_post): | |
headers={'content-type': 'application/json'}, | ||
json={'user': {'email': '[email protected]', 'password': 'test_pass_123'}} | ||
) | ||
# self.assertEqual(fb.error, 'ERROR: The server address does not exist.') | ||
self.assertEqual(fb.error, 'HTTP ERROR: The server address does not exist.') | ||
self.assertIsNone(fb.token) | ||
self.assertEqual(mock_post.return_value.status_code, 404) | ||
|
||
|