summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/route_server_test2.py
diff options
context:
space:
mode:
authorWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-11 15:42:18 +0000
committerWataru Ishida <ishida.wataru@lab.ntt.co.jp>2016-11-14 02:15:46 +0000
commitc4ced97e76f12d5c37721c107e61147edb4254d7 (patch)
tree8178a6a4a7bfbdf98414dd0148796255e39a4cc0 /test/scenario_test/route_server_test2.py
parent3f2dd34d37b5ca4874399d7eaff9bbb8b7975cd4 (diff)
cli: use client library
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/route_server_test2.py')
-rw-r--r--test/scenario_test/route_server_test2.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scenario_test/route_server_test2.py b/test/scenario_test/route_server_test2.py
index 477d81ea..124d8916 100644
--- a/test/scenario_test/route_server_test2.py
+++ b/test/scenario_test/route_server_test2.py
@@ -85,7 +85,7 @@ class GoBGPTestBase(unittest.TestCase):
def test_04_withdraw_path(self):
self.clients['g2'].local('gobgp global rib del 10.0.0.0/24')
time.sleep(1)
- info = self.gobgp.get_neighbor(self.clients['g2'])['info']
+ info = self.gobgp.get_neighbor(self.clients['g2'])['state']['adj-table']
self.assertTrue(info['advertised'] == 1)
self.assertTrue('accepted' not in info) # means info['accepted'] == 0
self.assertTrue('received' not in info) # means info['received'] == 0