Fix some pep8 issues

This commit is contained in:
Mark McLoughlin 2013-06-16 11:57:47 +01:00
parent d821999629
commit daae091c7c
2 changed files with 3 additions and 4 deletions

@ -14,7 +14,6 @@
# under the License. # under the License.
import threading import threading
import time
from oslo.config import cfg from oslo.config import cfg
import testscenarios import testscenarios
@ -296,7 +295,7 @@ class TestMultipleServers(test_utils.BaseTestCase, ServerSetupMixin):
dict(multi_endpoints=True, dict(multi_endpoints=True,
expect1=['ds1'], expect1=['ds1'],
expect2=['ds2'])), expect2=['ds2'])),
] ]
@classmethod @classmethod
def generate_scenarios(cls): def generate_scenarios(cls):

@ -160,8 +160,8 @@ class EqualityTestCase(test_utils.BaseTestCase):
s[1]['equals'] = (s[1]['a_value'] == s[1]['b_value']) s[1]['equals'] = (s[1]['a_value'] == s[1]['b_value'])
def test_equality(self): def test_equality(self):
a_kwargs = {self.attr : self.a_value} a_kwargs = {self.attr: self.a_value}
b_kwargs = {self.attr : self.b_value} b_kwargs = {self.attr: self.b_value}
a = messaging.Target(**a_kwargs) a = messaging.Target(**a_kwargs)
b = messaging.Target(**b_kwargs) b = messaging.Target(**b_kwargs)