diff --git a/src/sonic-config-engine/tests/test_minigraph_case.py b/src/sonic-config-engine/tests/test_minigraph_case.py index d5e67c8d1864..9c3e5bf19ba4 100644 --- a/src/sonic-config-engine/tests/test_minigraph_case.py +++ b/src/sonic-config-engine/tests/test_minigraph_case.py @@ -187,14 +187,16 @@ def test_mux_cable_parsing(self): def test_minigraph_tunnel_table(self): result = minigraph.parse_xml(self.sample_graph, self.port_config) - argument = '-m "' + self.sample_graph + '" -p "' + self.port_config + '" -v "TUNNEL_TABLE[\'MUX_TUNNEL_0\']"' + argument = '-m "' + self.sample_graph + '" -p "' + self.port_config + '" -v "TUNNEL_TABLE"' expected_tunnel = { - "tunnel_type": "IPINIP", - "dst_ip": "26.1.1.10", - "dscp_mode": "uniform", - "encap_ecn_mode": "standard", - "decap_ecn_mode": "copy_from_outer", - "ttl_mode": "pipe" + "MUX_TUNNEL_0": { + "tunnel_type": "IPINIP", + "dst_ip": "26.1.1.10", + "dscp_mode": "uniform", + "encap_ecn_mode": "standard", + "decap_ecn_mode": "copy_from_outer", + "ttl_mode": "pipe" + } } output = self.run_script(argument)