diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-05-15 08:52:49 +0900 |
---|---|---|
committer | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2018-05-15 09:39:55 +0900 |
commit | efd215d814f0fc686c5d1ea7256bef77ce3ee194 (patch) | |
tree | d4437a5b4e3923f4031d11ab622b5585ac7e6a7d /test | |
parent | c5fdcad5727dee2411b5e4ad33fd249d3100880d (diff) |
graceful_restart_test: Remove redundant parentheses
Improves pylint result.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/scenario_test/graceful_restart_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
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) |