Skip to content

Commit 1002a09

Browse files
committed
Updated tests
1 parent da2d7e4 commit 1002a09

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/test_manual.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ class TestManualApi(IsolatedAsyncioTestCase):
2222

2323
def setUp(self):
2424
self.configuration = manticoresearch.Configuration(
25-
host = "http://localhost:9408"
25+
host = "http://localhost:9408",
26+
retries = 10
2627
)
2728

2829
def tearDown(self):
@@ -34,9 +35,6 @@ async def test_manual(self):
3435
utilsApi = manticoresearch.UtilsApi(client)
3536
res = await utilsApi.sql('query=DROP TABLE IF EXISTS movies')
3637
pprint(res)
37-
38-
async with manticoresearch.ApiClient(self.configuration) as client:
39-
utilsApi = manticoresearch.UtilsApi(client)
4038
res = await utilsApi.sql("CREATE TABLE IF NOT EXISTS movies (title text, plot text, _year integer, rating float, code multi) min_infix_len='2'")
4139
pprint(res)
4240

0 commit comments

Comments
 (0)