def setUp(self):
        self.db_name = '_mongolog_test'

        self.conn = Connection('localhost')
        self.conn.drop_database(self.db_name)

        self.db = self.conn[self.db_name]
        self.collection = self.db['log']
Convert an xml string to JSON
dataset/ETHPy150Open andreisavu/mongodb-log/tests/test_handler.py/TestRootLoggerHandler.setUp--crossover with--dataset/ETHPy150Open geopython/pycsw/pycsw/core/formats/fmt_json.py/xml2json