Skip to content

Commit b2a1269

Browse files
committed
Updated tests
1 parent f9e1d73 commit b2a1269

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

test/test_manual.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,16 @@ async def test_manual(self):
6666
res = searchApi.search(search_request)
6767
pprint(res)
6868

69+
search_request = {"table":"movies","query":{"bool": {"must": [ {"match": {"title":"4"}}] }}}
70+
71+
res = searchApi.search(search_request)
72+
pprint(res)
73+
74+
autocomplete_request = {"table":"movies","query": "Romul","options": {"fuzziness": 0, "layouts": "us,uk"} }
75+
76+
res = searchApi.autocomplete(autocomplete_request)
77+
pprint(res)
78+
6979
pprint("Tests finished")
7080
if __name__ == '__main__':
7181
unittest.main()

0 commit comments

Comments
 (0)