There was an error while loading. Please reload this page.
1 parent c24f410 commit 7550b64Copy full SHA for 7550b64
test/test_manual.py
@@ -20,16 +20,16 @@
20
class TestManualApi(IsolatedAsyncioTestCase):
21
22
def setUp(self):
23
- configuration = manticoresearch.Configuration(
+ self.configuration = manticoresearch.Configuration(
24
host = "http://localhost:9408"
25
)
26
- self.client = manticoresearch.ApiClient(configuration)
27
28
def tearDown(self):
29
pass
30
31
async def test_manual(self):
32
- pprint("Tests finished")
+async with manticoresearch.ApiClient(self.configuration) as client:
+pprint("Tests finished")
33
34
if __name__ == '__main__':
35
unittest.main()
0 commit comments