From 858a7d7a40abb6c78195f25777c1b8d40f97f94a Mon Sep 17 00:00:00 2001 From: Ashok Date: Tue, 8 Sep 2020 22:16:56 +0530 Subject: [PATCH] print statement removed --- app/api/dao/user.py | 1 - tests/users/test_api_list_users.py | 1 - 2 files changed, 2 deletions(-) diff --git a/app/api/dao/user.py b/app/api/dao/user.py index 7964d3eab..a2308d44f 100644 --- a/app/api/dao/user.py +++ b/app/api/dao/user.py @@ -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, diff --git a/tests/users/test_api_list_users.py b/tests/users/test_api_list_users.py index c20069fdd..0d1bd22ff 100644 --- a/tests/users/test_api_list_users.py +++ b/tests/users/test_api_list_users.py @@ -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,