Merge "Fix some new PEP8 errors found at gate"
This commit is contained in:
commit
b738ee677f
@ -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