diff options
Diffstat (limited to 'test/scenario_test/route_server_malformed_test.py')
-rw-r--r-- | test/scenario_test/route_server_malformed_test.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/scenario_test/route_server_malformed_test.py b/test/scenario_test/route_server_malformed_test.py index 296f3645..acb755d9 100644 --- a/test/scenario_test/route_server_malformed_test.py +++ b/test/scenario_test/route_server_malformed_test.py @@ -156,9 +156,9 @@ def get_neighbor_address(): address = [] try: gobgp_config = toml.loads(open(gobgp_config_file).read()) - neighbors_config = gobgp_config['NeighborList'] + neighbors_config = gobgp_config['Neighbors']['NeighborList'] for neighbor_config in neighbors_config: - neighbor_ip = neighbor_config['NeighborAddress'] + neighbor_ip = neighbor_config['NeighborConfig']['NeighborAddress'] address.append(neighbor_ip) except IOError, (errno, strerror): |