Skip to content

Commit ff293c0

Browse files
committed
Updated tests
1 parent e0ba5f4 commit ff293c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_manual.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_manual(self):
3232
searchApi = manticoresearch.SearchApi(client)
3333

3434
utilsApi.sql('query=DROP TABLE IF EXISTS movies')
35-
res = utilsApi.sql('query=CREATE TABLE IF NOT EXISTS movies (title text, plot text, _year integer, rating float, code multi)')
35+
res = utilsApi.sql("CREATE TABLE IF NOT EXISTS movies (title text, plot text, _year integer, rating float, code multi) min_infix_len='2'")
3636

3737
docs = [ \
3838
{"insert": {"table" : "movies", "id" : 1, "doc" : {"title" : "Star Trek 2: Nemesis", "plot": "The Enterprise is diverted to the Romulan homeworld Romulus, supposedly because they want to negotiate a peace treaty. Captain Picard and his crew discover a serious threat to the Federation once Praetor Shinzon plans to attack Earth.", "_year": 2002, "rating": 6.4, "code": [1,2,3]}}}, \

0 commit comments

Comments
 (0)