code: def setUpClass(cls):
      from pymongo.errors import ServerSelectionTimeoutError
      from pymongo import MongoClient
  
      # Skip these tests if a mongo client is not running
      try:
          client = MongoClient(serverSelectionTimeoutMS=0.1)
          client.server_info()
  
      except ServerSelectionTimeoutError:
          raise SkipTest("Unable to connect to Mongo DB.")
  
file_path: ChatterBot/tests/base_case.py
imports: from unittest import TestCase, SkipTest
  from chatterbot import ChatBot
label_desc: Use image node_id 1 for calling the ChatBotMongoTestCase obj's underlying member method code with example usage: obj.setUpClass(cls) without return types