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()
def setUpClass(cls) -> None: connection = Connection('preload') connection.set_url('mongodb://localhost:27017/preload') connection.connect()