From 2dd1bd4fd82716abe58a9dc24824d989ad90f9d1 Mon Sep 17 00:00:00 2001 From: Noah Stapp Date: Mon, 2 Dec 2024 11:25:46 -0500 Subject: [PATCH] PYTHON-4995 - Skip TestNoSessionsSupport tests on crypt_shared --- test/asynchronous/test_encryption.py | 2 +- test/test_encryption.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/asynchronous/test_encryption.py b/test/asynchronous/test_encryption.py index 048db2d501..21cd5e2666 100644 --- a/test/asynchronous/test_encryption.py +++ b/test/asynchronous/test_encryption.py @@ -3069,11 +3069,11 @@ def start_mongocryptd(port) -> None: _spawn_daemon(args) +@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed") class TestNoSessionsSupport(AsyncEncryptionIntegrationTest): mongocryptd_client: AsyncMongoClient MONGOCRYPTD_PORT = 27020 - @unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed") async def asyncSetUp(self) -> None: await super().asyncSetUp() start_mongocryptd(self.MONGOCRYPTD_PORT) diff --git a/test/test_encryption.py b/test/test_encryption.py index cb8bcb74d6..18e21fe6a7 100644 --- a/test/test_encryption.py +++ b/test/test_encryption.py @@ -3051,11 +3051,11 @@ def start_mongocryptd(port) -> None: _spawn_daemon(args) +@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed") class TestNoSessionsSupport(EncryptionIntegrationTest): mongocryptd_client: MongoClient MONGOCRYPTD_PORT = 27020 - @unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed") def setUp(self) -> None: super().setUp() start_mongocryptd(self.MONGOCRYPTD_PORT)