Skip to content

Commit

Permalink
Amend tests for arista-eosplus#186
Browse files Browse the repository at this point in the history
  • Loading branch information
andriirr committed Mar 23, 2020
1 parent d9cf216 commit b17dd21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/system/test_api_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ def test_update_vlan(self):
api = dut.api('interfaces')
instance = api.update_vlan('Vxlan1', '10', '10')
self.assertTrue(instance)
self.contains('vxlan vlan 10 vni 10', dut)
self.contains('vxlan vlan add 10 vni 10', dut)

def test_remove_vlan(self):
for dut in self.duts:
Expand Down
2 changes: 1 addition & 1 deletion test/unit/test_api_interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ def test_set_udp_port_with_default(self):
self.eapi_positive_config_test(func, cmds)

def test_update_vlan(self):
cmds = ['interface Vxlan1', 'vxlan vlan 10 vni 10']
cmds = ['interface Vxlan1', 'vxlan vlan add 10 vni 10']
func = function('update_vlan', 'Vxlan1', 10, 10)
self.eapi_positive_config_test(func, cmds)

Expand Down

0 comments on commit b17dd21

Please sign in to comment.