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