Fix some pep8 issues
This commit is contained in:
parent
d821999629
commit
daae091c7c
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user