Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

add autosuggest api #19

Merged
merged 5 commits into from
Aug 20, 2021
Merged

add autosuggest api #19

merged 5 commits into from
Aug 20, 2021

Conversation

jain-aayush1123
Copy link
Contributor

No description provided.

here_location_services/autosuggest_api.py Outdated Show resolved Hide resolved
here_location_services/autosuggest_api.py Show resolved Hide resolved
here_location_services/autosuggest_api.py Outdated Show resolved Hide resolved
here_location_services/autosuggest_api.py Outdated Show resolved Hide resolved
here_location_services/autosuggest_api.py Outdated Show resolved Hide resolved
tests/test_ls.py Outdated Show resolved Hide resolved
here_location_services/ls.py Outdated Show resolved Hide resolved
here_location_services/ls.py Outdated Show resolved Hide resolved
here_location_services/ls.py Outdated Show resolved Hide resolved
here_location_services/ls.py Outdated Show resolved Hide resolved
assert resp2.items

resp3 = ls.autosuggest(q="res", limit=5, search_in_circle=search_in_circle1, lang=["en"])
resp3 = ls.autosuggest(query="res", limit=5, search_in_circle=search_in_circle1, lang=["en"])
assert resp3.items

resp4 = ls.autosuggest(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

assertions missing for resp4 can we verify change in results after passing, show and politcal_view ?

tests/test_ls.py Outdated
assert resp2.items

resp3 = ls.autosuggest(q="res", limit=5, search_in_circle=search_in_circle1, lang=["en"])
resp3 = ls.autosuggest(query="res", limit=5, search_in_circle=search_in_circle1, lang=["en"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add assertion for limit parameter if results returned are limited to 5

tests/test_ls.py Show resolved Hide resolved
here_location_services/ls.py Outdated Show resolved Hide resolved
@sackh sackh merged commit 5e743c5 into heremaps:master Aug 20, 2021
@sackh sackh mentioned this pull request Aug 20, 2021
@jain-aayush1123 jain-aayush1123 deleted the autosuggest branch August 20, 2021 06:26
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants