Пример #1
0
 def setUpClass(cls):
     cls.standalone = Server().start()
     cls.mongo_doc = DocManager(cls.standalone.uri)
     cls.mongo_conn = cls.standalone.client()
     cls.desination_version = Version.from_client(cls.mongo_conn)
     cls.mongo = cls.mongo_conn["test"]["test"]
Пример #2
0
 def setUpClass(cls):
     cls.standalone = Server().start()
     cls.mongo_doc = DocManager(cls.standalone.uri)
     cls.mongo_conn = cls.standalone.client()
     cls.mongo = cls.mongo_conn['test']['test']