Skip to content

Commit 21dfe1e

Browse files
Updating intfutil test cases for subinterfaces
1 parent 5398047 commit 21dfe1e

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

tests/intfutil_test.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,8 +235,7 @@ def test_single_subintf_status(self):
235235
expected_output = (
236236
"Sub port interface Speed MTU Vlan Admin Type\n"
237237
"-------------------- ------- ----- ------ ------- --------------------\n"
238-
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation\n"
239-
" Eth64.10 40G 9100 100 up 802.1q-encapsulation"
238+
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation"
240239
)
241240
self.assertEqual(result.output.strip(), expected_output)
242241

tests/mock_tables/appl_db.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,6 @@
192192
"admin_status": "up",
193193
"vlan": "100"
194194
},
195-
"INTF_TABLE:Eth64.10": {
196-
"admin_status": "up",
197-
"vlan": "100"
198-
},
199195
"_GEARBOX_TABLE:phy:1": {
200196
"name": "sesto-1",
201197
"phy_id": "1",

0 commit comments

Comments
 (0)