diff options
Diffstat (limited to 'test/scenario_test/scenario_test_util.py')
-rw-r--r-- | test/scenario_test/scenario_test_util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scenario_test/scenario_test_util.py b/test/scenario_test/scenario_test_util.py index 978f2416..a889c2db 100644 --- a/test/scenario_test/scenario_test_util.py +++ b/test/scenario_test/scenario_test_util.py @@ -77,7 +77,7 @@ def get_adj_rib(base_url, neighbor_address, target_prefix, retry, interval, type r = requests.get(url) in_rib = json.loads(r.text) print in_rib - paths = [p for p in in_rib['RF_IPv4_UC'] if p['Network'] == target_prefix] + paths = [p for p in in_rib if p['Network'] == target_prefix] if len(paths) > 0: assert len(paths) == 1 |