summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-04-05 10:35:46 +0000
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-04-06 20:59:04 +0900
commit5256fbe1ca083e02c37c41b4f79f9451f7ddd82b (patch)
tree3e06f12643354aaf1eb88db5019544718089de7a /test
parentca37e4a9278998ecfc2a658ddf578d06ff2e29cd (diff)
scenario_test: fix get_adj_rib
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test')
-rw-r--r--test/scenario_test/scenario_test_util.py2
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