summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py')
-rw-r--r--tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py18
1 files changed, 15 insertions, 3 deletions
diff --git a/tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py b/tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py
index 36f1d8cd56..71f64e9b70 100644
--- a/tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py
+++ b/tests/topotests/bgp-vrf-route-leak-basic/test_bgp-vrf-route-leak-basic.py
@@ -90,7 +90,11 @@ def test_vrf_route_leak():
# Test DONNA VRF.
expect = {
- "10.0.0.0/24": [{"protocol": "connected",}],
+ "10.0.0.0/24": [
+ {
+ "protocol": "connected",
+ }
+ ],
"10.0.1.0/24": [
{"protocol": "bgp", "selected": True, "nexthops": [{"fib": True}]}
],
@@ -111,11 +115,19 @@ def test_vrf_route_leak():
"10.0.0.0/24": [
{"protocol": "bgp", "selected": True, "nexthops": [{"fib": True}]}
],
- "10.0.1.0/24": [{"protocol": "connected",}],
+ "10.0.1.0/24": [
+ {
+ "protocol": "connected",
+ }
+ ],
"10.0.2.0/24": [
{"protocol": "bgp", "selected": True, "nexthops": [{"fib": True}]}
],
- "10.0.3.0/24": [{"protocol": "connected",}],
+ "10.0.3.0/24": [
+ {
+ "protocol": "connected",
+ }
+ ],
}
test_func = partial(