MCPcopy Create free account
hub / github.com/NanmiCoder/MediaCrawler / setUp

Method setUp

test/test_mongodb_integration.py:46–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected