diff --git a/tests/intfutil_test.py b/tests/intfutil_test.py index 82075b1352..5d09460438 100644 --- a/tests/intfutil_test.py +++ b/tests/intfutil_test.py @@ -235,7 +235,8 @@ def test_single_subintf_status(self): expected_output = ( "Sub port interface Speed MTU Vlan Admin Type\n" "-------------------- ------- ----- ------ ------- --------------------\n" - " Ethernet0.10 25G 9100 10 up 802.1q-encapsulation" + " Ethernet0.10 25G 9100 10 up 802.1q-encapsulation\n" + " Eth64.10 40G 9100 100 up 802.1q-encapsulation" ) self.assertEqual(result.output.strip(), expected_output) diff --git a/tests/mock_tables/appl_db.json b/tests/mock_tables/appl_db.json index 29e161c9ca..54656f8960 100644 --- a/tests/mock_tables/appl_db.json +++ b/tests/mock_tables/appl_db.json @@ -192,6 +192,10 @@ "admin_status": "up", "vlan": "100" }, + "INTF_TABLE:Eth64.10": { + "admin_status": "up", + "vlan": "100" + }, "_GEARBOX_TABLE:phy:1": { "name": "sesto-1", "phy_id": "1",