Fix E126 test
Fix indentation in code for E126 tests. Change-Id: I835a00262d10f813e33808a854f9fc174443a6ae
This commit is contained in:
parent
5f987c3bf4
commit
d0bb9f0e8e
|
@ -29,8 +29,8 @@ class TestHealthChecks(testing.TestBase):
|
|||
self.conf = base.mock_config(self)
|
||||
self.resource = healthchecks.HealthChecks()
|
||||
self.api.add_route(
|
||||
ENDPOINT,
|
||||
self.resource
|
||||
ENDPOINT,
|
||||
self.resource
|
||||
)
|
||||
|
||||
def test_should_return_200_for_head(self):
|
||||
|
|
|
@ -48,13 +48,13 @@ def _generate_unique_message(size):
|
|||
|
||||
def _generate_v3_payload(log_count):
|
||||
v3_logs = [{
|
||||
'message': _generate_unique_message(100),
|
||||
'dimensions': {
|
||||
'hostname': 'host_%d' % it,
|
||||
'component': 'component_%d' % it,
|
||||
'service': 'service_%d' % it
|
||||
}
|
||||
} for it in xrange(log_count)]
|
||||
'message': _generate_unique_message(100),
|
||||
'dimensions': {
|
||||
'hostname': 'host_%d' % it,
|
||||
'component': 'component_%d' % it,
|
||||
'service': 'service_%d' % it
|
||||
}
|
||||
} for it in xrange(log_count)]
|
||||
v3_body = {
|
||||
'dimensions': {
|
||||
'origin': __name__
|
||||
|
|
Loading…
Reference in New Issue