Fix E126 test

Fix indentation in code for E126 tests.

Change-Id: I835a00262d10f813e33808a854f9fc174443a6ae
This commit is contained in:
Artur Basiak 2016-08-29 12:33:55 +02:00
parent 5f987c3bf4
commit d0bb9f0e8e
3 changed files with 9 additions and 10 deletions

View File

@ -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):

View File

@ -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__

View File

@ -30,6 +30,5 @@ commands = {posargs}
[flake8]
exclude = .git,.tox,dist,docs,*.egg,build
show-source = True
ignore = E126
[hacking]