Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
geo-martino committed Jul 4, 2024
1 parent 19c51ff commit eaabc0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/libraries/remote/core/processors/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit eaabc0b

Please sign in to comment.