예제 #1
0
 def setUpClass(cls) -> None:
     connection = Connection('simple')
     connection.set_url('mongodb://localhost:27017/simple')
     connection.connect()
     connection = Connection('linked')
     connection.set_url('mongodb://localhost:27017/linked')
     connection.connect()
예제 #2
0
 def setUpClass(cls) -> None:
     connection = Connection('preload')
     connection.set_url('mongodb://localhost:27017/preload')
     connection.connect()