Example #1
0
 def setUp(self):
     super(TestCollectorService, self).setUp()
     self.srv = service.CollectorService('the-host', 'the-topic')
     self.ctx = None
Example #2
0
 def test_service_has_storage_conn(self):
     # Test an unmocked default CollectorService
     srv = service.CollectorService('the-host', 'the-topic')
     self.assertIsNotNone(srv.storage_conn)