<s> from unittest import SkipTest <EOL> from tests . base_case import ChatBotTestCase <EOL> from . base import StorageIntegrationTests <EOL> class MongoStorageIntegrationTests ( StorageIntegrationTests , ChatBotTestCase ) : <EOL> def setUp ( self ) : <EOL> super ( MongoStorageIntegrationTests , self ) . setUp ( ) <EOL> from pymongo . errors import ServerSelectionTimeoutError <EOL> from pymongo import MongoClient <EOL> try : <EOL> client = MongoClient ( <EOL> serverSelectionTimeoutMS = <NUM_LIT> <EOL> ) <EOL> client . server_info ( ) <EOL> except ServerSelectionTimeoutError : <EOL> raise SkipTest ( "<STR_LIT>" ) <EOL> self . chatbot . storage_adapters = [ ] <EOL> self . chatbot . add_adapter ( <EOL> "<STR_LIT>" <EOL> ) </s>
