From 629a15dca689d7edf4bfd8e8f622ad6ee77dc0d6 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Sat, 6 Jul 2024 01:15:37 +0200 Subject: [PATCH] Tests: Skip MongoDB tests if `bsonjs` package is not installed --- tests/io/mongodb/test_integration.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/io/mongodb/test_integration.py b/tests/io/mongodb/test_integration.py index 0515d5fd..30f92714 100644 --- a/tests/io/mongodb/test_integration.py +++ b/tests/io/mongodb/test_integration.py @@ -12,6 +12,7 @@ pymongo = pytest.importorskip("pymongo", reason="Skipping tests because pymongo is not installed") pytest.importorskip("rich", reason="Skipping tests because rich is not installed") +pytest.importorskip("bsonjs", reason="Skipping tests because bsonjs is not installed") from cratedb_toolkit.io.mongodb.core import gather_collections from cratedb_toolkit.testing.testcontainers.mongodb import MongoDbContainerWithKeepalive