forked from JulianFrattini/edutask
-
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
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 |
---|---|---|
|
@@ -27,11 +27,11 @@ def test_get_user_by_email_nonexistent(self, mock): | |
assert user is None, "The user does not exist" | ||
|
||
|
||
def test_get_user_by_email_multiple_users_nonexistent(self, mock): | ||
""" def test_get_user_by_email_multiple_users_nonexistent(self, mock): | ||
mock.find.return_value = [] | ||
user_controller = UserController(mock) | ||
user = user_controller.get_user_by_email('[email protected]') | ||
assert user is None, "The user does not exist" | ||
assert user is None, "The user does not exist" """ | ||
|
||
def test_get_user_by_email_multiple_users(self, mock): | ||
mock.find.return_value = [{'email': '[email protected]', 'name': 'Smith'}, {'email': '[email protected]', 'name': 'John'}] | ||
|