From 5cba4c44fe9ec633232f08bf8c6086252a3e5573 Mon Sep 17 00:00:00 2001 From: Shane Harvey Date: Mon, 8 Jul 2024 12:11:50 -0400 Subject: [PATCH] PYTHON-4538 await _check_user_provided (#1726) --- test/asynchronous/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/asynchronous/__init__.py b/test/asynchronous/__init__.py index 579bc7e0c..d6d2d9bee 100644 --- a/test/asynchronous/__init__.py +++ b/test/asynchronous/__init__.py @@ -228,7 +228,7 @@ class AsyncClientContext: if self.auth_enabled: if not self.serverless and not IS_SRV: # See if db_user already exists. - if not self._check_user_provided(): + if not await self._check_user_provided(): _create_user(self.client.admin, db_user, db_pwd) self.client = await self._connect(