summaryrefslogtreecommitdiff
path: root/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2020-10-08 19:38:44 +0300
committerGitHub <noreply@github.com>2020-10-08 19:38:44 +0300
commitebe39ad5d1c4787cf74836c8b453fa4464051a5e (patch)
treef6c52ae4a6c8498c9fe501d8e0170981c273350f /tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
parent75bc27898db9347ef6ffa4734cfb9f88e25c7b85 (diff)
parent74d5f2543c89bdea7b9a3dcb43dd62c38dfd2ed7 (diff)
Merge pull request #7260 from qlyoung/reformat-python
Reformat python
Diffstat (limited to 'tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py')
-rw-r--r--tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py16
1 files changed, 4 insertions, 12 deletions
diff --git a/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py b/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
index 2c6bcf0162..6ac0b515df 100644
--- a/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
+++ b/tests/topotests/ospf_basic_functionality/test_ospf_rte_calc.py
@@ -50,7 +50,7 @@ from lib.common_config import (
create_static_routes,
step,
shutdown_bringup_interface,
- topo_daemons
+ topo_daemons,
)
from lib.bgp import verify_bgp_convergence, create_router_bgp
from lib.topolog import logger
@@ -278,8 +278,7 @@ def test_ospf_redistribution_tc5_p0(request):
dut = "r1"
for num in range(0, nretry):
- result = verify_ospf_rib(
- tgen, dut, input_dict, next_hop=nh, expected=False)
+ result = verify_ospf_rib(tgen, dut, input_dict, next_hop=nh, expected=False)
if result is not True:
break
@@ -399,8 +398,7 @@ def test_ospf_redistribution_tc6_p0(request):
dut = "r1"
for num in range(0, nretry):
- result = verify_ospf_rib(
- tgen, dut, input_dict, next_hop=nh, expected=False)
+ result = verify_ospf_rib(tgen, dut, input_dict, next_hop=nh, expected=False)
if result is not True:
break
assert result is not True, "Testcase {} : Failed \n Error: {}".format(
@@ -409,13 +407,7 @@ def test_ospf_redistribution_tc6_p0(request):
protocol = "ospf"
result = verify_rib(
- tgen,
- "ipv4",
- dut,
- input_dict,
- protocol=protocol,
- next_hop=nh,
- expected=False,
+ tgen, "ipv4", dut, input_dict, protocol=protocol, next_hop=nh, expected=False,
)
assert result is not True, "Testcase {} : Failed \n Error: {}".format(
tc_name, result