Skip to content

Commit

Permalink
Remove commented code, change test case name
Browse files Browse the repository at this point in the history
  • Loading branch information
qiluo-msft committed Apr 18, 2022
1 parent 7b9800b commit 072ef98
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/sonic-config-engine/tests/test_cfggen.py
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ def test_minigraph_bgp_voq_chassis_peer(self):
def test_minigraph_sub_port_interfaces(self, check_stderr=True):
self.verify_sub_intf(check_stderr=check_stderr)

def test_minigraph_sub_port_intf_resource_non_backend_tor(self, check_stderr=True):
def test_minigraph_sub_port_intf_resource_type_non_backend_tor(self, check_stderr=True):
self.verify_sub_intf_non_backend_tor(graph_file=self.sample_resource_graph, check_stderr=check_stderr)

def test_minigraph_sub_port_intf_resource_type(self, check_stderr=True):
Expand Down Expand Up @@ -748,16 +748,6 @@ def verify_no_vlan_member(self):
def verify_sub_intf_non_backend_tor(self, **kwargs):
graph_file = kwargs.get('graph_file', self.sample_graph_simple)

# INTERFACE table does not exist
# argument = '-m "' + graph_file + '" -p "' + self.port_config + '" -v "INTERFACE"'
# output = self.run_script(argument)
# self.assertEqual(output.strip(), "")

# PORTCHANNEL_INTERFACE table does not exist
# argument = '-m "' + graph_file + '" -p "' + self.port_config + '" -v "PORTCHANNEL_INTERFACE"'
# output = self.run_script(argument)
# self.assertEqual(output.strip(), "")

# All the other tables stay unchanged
self.test_var_json_data(graph_file=graph_file)
self.test_minigraph_vlans(graph_file=graph_file)
Expand Down

0 comments on commit 072ef98

Please sign in to comment.