From 09f74594ab290d618b7bc431e0e39d4095c8659c Mon Sep 17 00:00:00 2001 From: abhi1992002 Date: Mon, 16 Feb 2026 13:39:23 +0530 Subject: [PATCH] fix(tests): update test_get_library_agents_success to include folder_id and include_root_only parameters - Added `folder_id` and `include_root_only` parameters to the `test_get_library_agents_success` function to ensure comprehensive testing of library agent retrieval functionality. - This change enhances the test coverage for scenarios involving folder-specific agent queries. --- .../backend/backend/api/features/library/routes_test.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/autogpt_platform/backend/backend/api/features/library/routes_test.py b/autogpt_platform/backend/backend/api/features/library/routes_test.py index 4d83812891..be1faf2779 100644 --- a/autogpt_platform/backend/backend/api/features/library/routes_test.py +++ b/autogpt_platform/backend/backend/api/features/library/routes_test.py @@ -115,6 +115,8 @@ async def test_get_library_agents_success( sort_by=library_model.LibraryAgentSort.UPDATED_AT, page=1, page_size=15, + folder_id=None, + include_root_only=False, )