From 4de52eb92333245f2c88e386d57c16547b89ab97 Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Tue, 6 Jan 2015 11:46:50 -0500 Subject: pep8 --- tests/unittests/test_datasource/test_gce.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'tests/unittests') diff --git a/tests/unittests/test_datasource/test_gce.py b/tests/unittests/test_datasource/test_gce.py index 957747ef..e2449ba8 100644 --- a/tests/unittests/test_datasource/test_gce.py +++ b/tests/unittests/test_datasource/test_gce.py @@ -33,7 +33,7 @@ GCE_META = { 'project/attributes/sshKeys': 'user:ssh-rsa AA2..+aRD0fyVw== root@server', 'instance/hostname': 'server.project-foo.local', 'instance/attributes/user-data': '/bin/echo foo\n', - 'instance/attributes/user-data-encoding':'', + 'instance/attributes/user-data-encoding': '', } GCE_META_PARTIAL = { @@ -51,7 +51,8 @@ GCE_META_ENCODING = { } HEADERS = {'X-Google-Metadata-Request': 'True'} -MD_URL_RE = re.compile(r'http://metadata.google.internal./computeMetadata/v1/.*') +MD_URL_RE = re.compile( + r'http://metadata.google.internal./computeMetadata/v1/.*') def _new_request_callback(gce_meta=None): @@ -136,5 +137,6 @@ class TestDataSourceGCE(test_helpers.HttprettyTestCase): body=_new_request_callback(GCE_META_ENCODING)) self.ds.get_data() - decoded = b64decode(GCE_META_ENCODING.get('instance/attributes/user-data')) + decoded = b64decode( + GCE_META_ENCODING.get('instance/attributes/user-data')) self.assertEqual(decoded, self.ds.get_userdata_raw()) -- cgit v1.2.3