(self)
| 44 | print(f"\n✗ MongoDB connection failed: {e}") |
| 45 | |
| 46 | def setUp(self): |
| 47 | if not self.mongodb_available: |
| 48 | self.skipTest("MongoDB not available") |
| 49 | |
| 50 | MongoDBConnection._instance = None |
| 51 | MongoDBConnection._client = None |
| 52 | MongoDBConnection._db = None |
| 53 | |
| 54 | def tearDown(self): |
| 55 | if self.mongodb_available: |
nothing calls this directly
no outgoing calls
no test coverage detected