diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-04-05 10:35:46 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-04-06 20:59:04 +0900 |
commit | 5256fbe1ca083e02c37c41b4f79f9451f7ddd82b (patch) | |
tree | 3e06f12643354aaf1eb88db5019544718089de7a | |
parent | ca37e4a9278998ecfc2a658ddf578d06ff2e29cd (diff) |
scenario_test: fix get_adj_rib
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
-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 |