From 6c6c129d250ccaa3aa69f35df905ec49a1dffe8a Mon Sep 17 00:00:00 2001 From: Chrtorres Date: Fri, 15 Nov 2024 15:56:21 -0500 Subject: [PATCH] Updated Saved Search unit tests, test_list_saved_searches_by_global_view_returns_none in passing state --- backend/src/xfd_django/xfd_api/tests/test_saved_searches.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/backend/src/xfd_django/xfd_api/tests/test_saved_searches.py b/backend/src/xfd_django/xfd_api/tests/test_saved_searches.py index fde9170c..1dae96d3 100644 --- a/backend/src/xfd_django/xfd_api/tests/test_saved_searches.py +++ b/backend/src/xfd_django/xfd_api/tests/test_saved_searches.py @@ -36,7 +36,6 @@ def test_create_saved_search_by_user(): "filters": [], }, ) - print(response.json()) # Print the response content for debugging assert response.status_code == 200 data = response.json() assert data["name"] == name @@ -232,7 +231,6 @@ def test_delete_saved_search_by_user_without_access_fails(): @pytest.mark.django_db(transaction=True) def test_list_saved_searches_by_global_view_returns_none(): - # pass user = User.objects.create( firstName="", lastName="", @@ -254,7 +252,6 @@ def test_list_saved_searches_by_global_view_returns_none(): "/saved-searches", headers={"Authorization": "Bearer " + create_jwt_token(user)}, ) - print(response.json()) # Print the response content for debugging assert response.status_code == 200 assert len(response.json()) == 0