From efd215d814f0fc686c5d1ea7256bef77ce3ee194 Mon Sep 17 00:00:00 2001 From: IWASE Yusuke Date: Tue, 15 May 2018 08:52:49 +0900 Subject: graceful_restart_test: Remove redundant parentheses Improves pylint result. Signed-off-by: IWASE Yusuke --- test/scenario_test/graceful_restart_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/scenario_test/graceful_restart_test.py b/test/scenario_test/graceful_restart_test.py index 60e10437..b7462dbc 100644 --- a/test/scenario_test/graceful_restart_test.py +++ b/test/scenario_test/graceful_restart_test.py @@ -160,8 +160,8 @@ class GoBGPTestBase(unittest.TestCase): g1._start_gobgp(graceful_restart=True) count = 0 - while ((g1.get_neighbor_state(g2) != BGP_FSM_ESTABLISHED) - or (g1.get_neighbor_state(g3) != BGP_FSM_ESTABLISHED)): + while (g1.get_neighbor_state(g2) != BGP_FSM_ESTABLISHED + or g1.get_neighbor_state(g3) != BGP_FSM_ESTABLISHED): count += 1 # assert connections are not refused self.assertTrue(g1.get_neighbor_state(g2) != BGP_FSM_IDLE) -- cgit v1.2.3