Skip to content

Commit

Permalink
Updating intfutil test cases for subinterfaces
Browse files Browse the repository at this point in the history
  • Loading branch information
preetham-singh committed Jul 26, 2022
1 parent 5398047 commit 21dfe1e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions tests/intfutil_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,7 @@ 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\n"
" Eth64.10 40G 9100 100 up 802.1q-encapsulation"
" Ethernet0.10 25G 9100 10 up 802.1q-encapsulation"
)
self.assertEqual(result.output.strip(), expected_output)

Expand Down
4 changes: 0 additions & 4 deletions tests/mock_tables/appl_db.json
Original file line number Diff line number Diff line change
Expand Up @@ -192,10 +192,6 @@
"admin_status": "up",
"vlan": "100"
},
"INTF_TABLE:Eth64.10": {
"admin_status": "up",
"vlan": "100"
},
"_GEARBOX_TABLE:phy:1": {
"name": "sesto-1",
"phy_id": "1",
Expand Down

0 comments on commit 21dfe1e

Please sign in to comment.