Ejemplo n.º 1
0
 def setUp(self):
     config = get_collector_config('MongoDBCollector', {
         'host': 'localhost:27017',
         'databases': '^db'
     })
     self.collector = MongoDBCollector(config, None)
     self.connection = MagicMock()
Ejemplo n.º 2
0
 def setUp(self):
     config = get_collector_config('MongoDBCollector', {
         'host': 'localhost:27017',
     })
     self.collector = MongoDBCollector(config, None)