Fix pep8 E128 warnings in non-test code
Reduces E128 warnings by ~260 to just ~900, no way we're getting rid of all of them at once (or ever). Files under neutron/tests still have a ton of E128 warnings. Change-Id: I9137150ccf129bf443e33428267cd4bc9c323b54 Co-Authored-By: Akihiro Motoki <amotoki@gmail.com>
This commit is contained in:
@@ -402,8 +402,7 @@ class KeepalivedTrackScriptTestCase(base.BaseTestCase):
|
||||
keepalived.KeepalivedVirtualRoute('12.0.0.0/24', '10.0.0.1'), ]
|
||||
self.assertEqual(''' track_script {
|
||||
ha_health_check_1
|
||||
}''',
|
||||
ts.get_config_str())
|
||||
}''', ts.get_config_str())
|
||||
|
||||
def test_get_script_str(self):
|
||||
ts = keepalived.KeepalivedTrackScript(
|
||||
|
||||
@@ -64,11 +64,11 @@ class TestPrefixDelegation(tests_base.DietTestCase):
|
||||
l3_agent.pd.routers = {}
|
||||
router_id = '1'
|
||||
ri = dvr_local_router.DvrLocalRouter(l3_agent,
|
||||
'host',
|
||||
router_id,
|
||||
mock.Mock(),
|
||||
mock.Mock(),
|
||||
mock.Mock())
|
||||
'host',
|
||||
router_id,
|
||||
mock.Mock(),
|
||||
mock.Mock(),
|
||||
mock.Mock())
|
||||
ns_name = ri.ns_name
|
||||
self._test_add_update_pd(l3_agent, ri, ns_name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user