Skip to content

Commit f12ae28

Browse files
committed
Skip session not supported tests unless pymongocrypt is present
1 parent 6e45ee5 commit f12ae28

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_encryption.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3004,14 +3004,13 @@ def start_mongocryptd(port) -> None:
30043004
_spawn_daemon(args)
30053005

30063006

3007-
class TestNoSessionsSupport(IntegrationTest):
3007+
class TestNoSessionsSupport(EncryptionIntegrationTest):
30083008
mongocryptd_client: MongoClient
30093009
MONGOCRYPTD_PORT = 27020
30103010

30113011
@classmethod
30123012
@client_context.require_sessions
30133013
@unittest.skipIf(os.environ.get("TEST_CRYPT_SHARED"), "crypt_shared lib is installed")
3014-
@client_context.require_version_min(4, 2, -1)
30153014
def setUpClass(cls):
30163015
super().setUpClass()
30173016
start_mongocryptd(cls.MONGOCRYPTD_PORT)

0 commit comments

Comments
 (0)