Skip to content

Commit 7550b64

Browse files
committed
Fixed tests
1 parent c24f410 commit 7550b64

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_manual.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
class TestManualApi(IsolatedAsyncioTestCase):
2121

2222
def setUp(self):
23-
configuration = manticoresearch.Configuration(
23+
self.configuration = manticoresearch.Configuration(
2424
host = "http://localhost:9408"
2525
)
26-
self.client = manticoresearch.ApiClient(configuration)
2726

2827
def tearDown(self):
2928
pass
3029

3130
async def test_manual(self):
32-
pprint("Tests finished")
31+
async with manticoresearch.ApiClient(self.configuration) as client:
32+
pprint("Tests finished")
3333

3434
if __name__ == '__main__':
3535
unittest.main()

0 commit comments

Comments
 (0)