From 5a758fc6d1e951e3fa7c4e1c54dae7e96595f6ab Mon Sep 17 00:00:00 2001 From: Borne Mace Date: Fri, 10 Jul 2015 09:19:32 -0700 Subject: Fixed all remaining pep8 failures in the codebase Change-Id: I0de312a587ecd83158da4c7e05ca6495c7a981a8 Partially-Implements: blueprint enable-flake8 --- tests/clients.py | 1 + tests/test_images.py | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/clients.py b/tests/clients.py index 9ac977479..9544e239b 100644 --- a/tests/clients.py +++ b/tests/clients.py @@ -17,6 +17,7 @@ from keystoneclient.v2_0 import client as ksclient logging.basicConfig(level=logging.WARNING) LOG = logging.getLogger(__name__) + class OpenStackClients(object): def __init__(self): diff --git a/tests/test_images.py b/tests/test_images.py index c0ad84596..e8ee41bc0 100644 --- a/tests/test_images.py +++ b/tests/test_images.py @@ -18,11 +18,13 @@ from subprocess import Popen, PIPE, STDOUT LOG = logging.getLogger(__name__) + class ImagesTest(base.BaseTestCase): + def setUp(self): super(ImagesTest, self).setUp() self.useFixture(log_fixture.SetLogLevel([__name__], - logging.logging.INFO)) + logging.logging.INFO)) def test_builds(self): proc = Popen(['tools/build-all-docker-images', -- cgit v1.2.3