diff --git a/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild b/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild index d51d507..4c847e9 100644 --- a/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild +++ b/dev-python/pymongocrypt/pymongocrypt-1.10.1.ebuild @@ -40,3 +40,21 @@ PATCHES=( ) distutils_enable_tests pytest + +python_test() { + local EPYTEST_DESELECT=( + # slow + test/performance/perf_test.py::TestBulkDecryption::runTest + # needs mongodb-enterprise-6+ + test/test_mongocrypt.py::TestMongoCrypt::test_encrypt + test/test_mongocrypt.py::TestMongoCryptCallback::test_encrypt + test/test_mongocrypt.py::TestExplicitEncryption::test_rangePreview_query_int32 + test/test_mongocrypt.py::TestExplicitEncryption::test_range_query_int32 +# test/test_mongocrypt.py::TestAsyncExplicitEncryption::test_range_query_int32 +# test/test_mongocrypt.py::TestMongoCrypt::test_encrypt_encrypted_fields_map +# test/test_mongocrypt.py::TestMongoCryptCallback::test_crypt_shared +# test/test_mongocrypt.py::TestAsyncMongoCryptCallback::test_encrypt +# test/test_mongocrypt.py::TestAsyncMongoCryptCallback::test_crypt_shared + ) + epytest +}