Skip to content

Commit

Permalink
print statement removed
Browse files Browse the repository at this point in the history
  • Loading branch information
ashokrayal committed Sep 8, 2020
1 parent 00e7ad6 commit 858a7d7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion app/api/dao/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ def list_users(user_id: int, search_query: str = "", page: int = DEFAULT_PAGE, p
"""

print('location', location)
users_list = UserModel.query.filter(
UserModel.id != user_id,
not is_verified or UserModel.is_email_verified,
Expand Down
1 change: 0 additions & 1 deletion tests/users/test_api_list_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ def test_list_users_api_with_a_search_query_with_spaces_resource_auth(self):
def test_list_users_api_with_location_resource_auth(self):
auth_header = get_test_request_header(self.admin_user.id)
expected_response = [marshal(self.third_user, public_user_api_model)]
print(f"/users?location={self.third_user.location}")
actual_response = self.client.get(
f"/users?location={self.third_user.location}",
follow_redirects=True,
Expand Down

0 comments on commit 858a7d7

Please sign in to comment.