summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-10-01 19:41:19 +0200
committerChristian Poessinger <christian@poessinger.com>2020-10-01 19:41:19 +0200
commitabe6cb06d387bff8e145db1c9848b8b6c3612acb (patch)
tree1e308750c39eeb462a599ac0bca15b042294426f /smoketest/scripts/cli
parent38ae3032180a3d49253237232a0e3de8d2836e7c (diff)
downloadvyos-1x-abe6cb06d387bff8e145db1c9848b8b6c3612acb.tar.gz
vyos-1x-abe6cb06d387bff8e145db1c9848b8b6c3612acb.zip
macsec: T2023: use proper config path for source-interface on removal
The config path is altered in get_interface_dict() to the base of the interface in question, e.g. 'interfaces macsec macsec1' - this must be reflected when calling othe methods of Config().
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_macsec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_macsec.py b/smoketest/scripts/cli/test_interfaces_macsec.py
index 6d1be86ba..177d2b946 100755
--- a/smoketest/scripts/cli/test_interfaces_macsec.py
+++ b/smoketest/scripts/cli/test_interfaces_macsec.py
@@ -105,7 +105,7 @@ class MACsecInterfaceTest(BasicInterfaceTest.BaseTest):
# Check for running process
self.assertTrue(process_named_running('wpa_supplicant'))
- def test_mandatory_toptions(self):
+ def test_mandatory_options(self):
interface = 'macsec1'
self.session.set(self._base_path + [interface])