Fix some new PEP8 errors found at gate
This patch removes the 'author' tag which now fails to pass PEP8 tests and also adds some missing newlines in source files. These newly found PEP8 errors are blocking us from merging code. Change-Id: Ib5c4c043c1df5cd980e09d26d130150b2e6d64c2
This commit is contained in:
parent
ed1ce5d8f2
commit
2ad1345639
@ -95,4 +95,4 @@ class KeystoneDomainConstraintTest(testtools.TestCase):
|
||||
self.assertIsNone(constrain.validate_with_client(client_mock,
|
||||
'domain_1'))
|
||||
|
||||
client_plugin_mock.get_domain_id.assert_called_once_with('domain_1')
|
||||
client_plugin_mock.get_domain_id.assert_called_once_with('domain_1')
|
||||
|
@ -2,8 +2,6 @@
|
||||
#
|
||||
# Copyright © 2013 Unitedstack Inc.
|
||||
#
|
||||
# Author: Jianing YANG (jianingy@unitedstack.com)
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
|
@ -1,8 +1,6 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2013 eNovance <licensing@enovance.com>
|
||||
#
|
||||
# Author: Mehdi Abaakouk <mehdi.abaakouk@enovance.com>
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
|
@ -192,4 +192,4 @@ class FakeKeystoneClient(object):
|
||||
if self.context is not None:
|
||||
return self.context.auth_plugin.get_token(self.session)
|
||||
else:
|
||||
return self.token
|
||||
return self.token
|
||||
|
@ -126,4 +126,4 @@ class TestStackValidationFailed(common.HeatTestCase):
|
||||
self.assertEqual(self.expected, six.text_type(ex))
|
||||
self.assertEqual(self.called_error, ex.error)
|
||||
self.assertEqual(self.called_path, ex.path)
|
||||
self.assertEqual(self.called_msg, ex.error_message)
|
||||
self.assertEqual(self.called_msg, ex.error_message)
|
||||
|
@ -143,7 +143,7 @@ class Client(object):
|
||||
connection.close()
|
||||
|
||||
|
||||
class RemoteClient():
|
||||
class RemoteClient(object):
|
||||
|
||||
# NOTE(afazekas): It should always get an address instead of server
|
||||
def __init__(self, server, username, password=None, pkey=None,
|
||||
|
Loading…
Reference in New Issue
Block a user