Skip to content

Commit 98b030a

Browse files
authored
PYTHON-5356 - Init unified test client SDAM for all unified tests (#2325)
1 parent 775b683 commit 98b030a

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/asynchronous/unified_format.py

+1
Original file line numberDiff line numberDiff line change
@@ -303,6 +303,7 @@ async def _create_entity(self, entity_spec, uri=None):
303303
if uri:
304304
kwargs["h"] = uri
305305
client = await self.test.async_rs_or_single_client(**kwargs)
306+
await client.aconnect()
306307
self[spec["id"]] = client
307308
return
308309
elif entity_type == "database":

test/unified_format.py

+1
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,7 @@ def _create_entity(self, entity_spec, uri=None):
302302
if uri:
303303
kwargs["h"] = uri
304304
client = self.test.rs_or_single_client(**kwargs)
305+
client._connect()
305306
self[spec["id"]] = client
306307
return
307308
elif entity_type == "database":

0 commit comments

Comments
 (0)