From eaabc0bcdbce475dbce917d7a4183969652210ec Mon Sep 17 00:00:00 2001 From: geo-martino Date: Wed, 3 Jul 2024 21:17:22 -0400 Subject: [PATCH] fix failing test --- tests/libraries/remote/core/processors/search.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/libraries/remote/core/processors/search.py b/tests/libraries/remote/core/processors/search.py index 33518389..63fdfd48 100644 --- a/tests/libraries/remote/core/processors/search.py +++ b/tests/libraries/remote/core/processors/search.py @@ -82,11 +82,11 @@ async def test_get_results(searcher: RemoteItemSearcher, api_mock: RemoteMock): assert len(results) == settings.result_count assert len(requests) == 1 - expected = [str(item.clean_tags.get(key)) for key in settings.search_fields_1] + expected = " ".join(str(item.clean_tags.get(key)) for key in settings.search_fields_1) found = False url, _, _ = next(iter(requests)) for k, v in url.query.items(): - if expected == unquote(v).split(): + if expected == unquote(v): found = True break