def before(self):
     self.conf = base.mock_config(self)
     self.resource = healthchecks.HealthChecks()
     self.api.add_route(
         ENDPOINT,
         self.resource
     )
Exemplo n.º 2
0
 def before(self):
     self.conf = base.mock_config(self)
     self.resource = healthchecks.HealthChecks()
     self.api.add_route(
             ENDPOINT,
             self.resource
     )
Exemplo n.º 3
0
 def before(self):
     self.conf = base.mock_config(self)
     self.logs_resource = logs.Logs()
     self.api.add_route(
         '/log/single',
         self.logs_resource
     )
Exemplo n.º 4
0
 def before(self):
     self.conf = base.mock_config(self)
Exemplo n.º 5
0
 def setUp(self):
     super(KafkaCheckLogicTest, self).setUp()
     self._conf = base.mock_config(self)
     self._conf.config(group='kafka_healthcheck', **self.mock_config)
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(TestSendMessage, self).setUp()
 def setUp(self):
     super(TestTruncation, self).setUp()
     self._conf = base.mock_config(self)
Exemplo n.º 8
0
 def before(self):
     self.conf = base.mock_config(self)
Exemplo n.º 9
0
 def setUp(self):
     super(TestRequest, self).setUp()
     base.mock_config(self)
     base.mock_context(self)
Exemplo n.º 10
0
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(PayloadSizeValidations, self).setUp()
Exemplo n.º 11
0
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(TestBulkProcessor, self).setUp()
Exemplo n.º 12
0
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(PayloadSizeValidations, self).setUp()
Exemplo n.º 13
0
 def setUp(self):
     super(TestRequest, self).setUp()
     base.mock_config(self)
     base.mock_context(self)
Exemplo n.º 14
0
 def setUp(self):
     super(TestTruncation, self).setUp()
     self._conf = base.mock_config(self)
Exemplo n.º 15
0
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(EnvelopeSizeValidations, self).setUp()
Exemplo n.º 16
0
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(TestSendMessage, self).setUp()
Exemplo n.º 17
0
 def setUp(self):
     self.conf = base.mock_config(self)
     return super(TestBulkProcessor, self).setUp()