Skip to content

Commit 0f61ebb

Browse files
authored
PYTHON-4995 - Skip TestNoSessionsSupport tests on crypt_shared (#2022)
1 parent bc66598 commit 0f61ebb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

test/asynchronous/test_encryption.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3069,11 +3069,11 @@ def start_mongocryptd(port) -> None:
30693069
_spawn_daemon(args)
30703070

30713071

3072+
@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed")
30723073
class TestNoSessionsSupport(AsyncEncryptionIntegrationTest):
30733074
mongocryptd_client: AsyncMongoClient
30743075
MONGOCRYPTD_PORT = 27020
30753076

3076-
@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed")
30773077
async def asyncSetUp(self) -> None:
30783078
await super().asyncSetUp()
30793079
start_mongocryptd(self.MONGOCRYPTD_PORT)

test/test_encryption.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -3051,11 +3051,11 @@ def start_mongocryptd(port) -> None:
30513051
_spawn_daemon(args)
30523052

30533053

3054+
@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed")
30543055
class TestNoSessionsSupport(EncryptionIntegrationTest):
30553056
mongocryptd_client: MongoClient
30563057
MONGOCRYPTD_PORT = 27020
30573058

3058-
@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed")
30593059
def setUp(self) -> None:
30603060
super().setUp()
30613061
start_mongocryptd(self.MONGOCRYPTD_PORT)

0 commit comments

Comments
 (0)