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

View File

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

View File

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