From c4ced97e76f12d5c37721c107e61147edb4254d7 Mon Sep 17 00:00:00 2001 From: Wataru Ishida Date: Fri, 11 Nov 2016 15:42:18 +0000 Subject: cli: use client library Signed-off-by: Wataru Ishida --- test/scenario_test/route_server_test2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/scenario_test/route_server_test2.py') 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 -- cgit v1.2.3