summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_interfaces_macsec.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-12-29 21:51:24 +0100
committerChristian Poessinger <christian@poessinger.com>2020-12-29 22:47:04 +0100
commitf2b2bbdd51cb00a8be1aefa1f9028212fcffc1d3 (patch)
tree9b799a6f53c6bc05d5de2444873145f2ccd0591d /smoketest/scripts/cli/test_interfaces_macsec.py
parent5b6b865b71415a1be9d5a758dfbccb81906f2f2a (diff)
downloadvyos-1x-f2b2bbdd51cb00a8be1aefa1f9028212fcffc1d3.tar.gz
vyos-1x-f2b2bbdd51cb00a8be1aefa1f9028212fcffc1d3.zip
smoketest: adjust test method names
This is for better readability during testruns
Diffstat (limited to 'smoketest/scripts/cli/test_interfaces_macsec.py')
-rwxr-xr-xsmoketest/scripts/cli/test_interfaces_macsec.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/smoketest/scripts/cli/test_interfaces_macsec.py b/smoketest/scripts/cli/test_interfaces_macsec.py
index 2dff848d4..d9635951f 100755
--- a/smoketest/scripts/cli/test_interfaces_macsec.py
+++ b/smoketest/scripts/cli/test_interfaces_macsec.py
@@ -43,10 +43,10 @@ class MACsecInterfaceTest(BasicInterfaceTest.BaseTest):
self._interfaces = list(self._options)
- def test_encryption(self):
- """ MACsec can be operating in authentication and encryption mode - both
- using different mandatory settings, lets test encryption as the basic
- authentication test has been performed using the base class tests """
+ def test_macsec_encryption(self):
+ # MACsec can be operating in authentication and encryption mode - both
+ # using different mandatory settings, lets test encryption as the basic
+ # authentication test has been performed using the base class tests
mak_cak = '232e44b7fda6f8e2d88a07bf78a7aff4'
mak_ckn = '40916f4b23e3d548ad27eedd2d10c6f98c2d21684699647d63d41b500dfe8836'
@@ -105,7 +105,7 @@ class MACsecInterfaceTest(BasicInterfaceTest.BaseTest):
# Check for running process
self.assertTrue(process_named_running('wpa_supplicant'))
- def test_mandatory_options(self):
+ def test_macsec_mandatory_options(self):
interface = 'macsec1'
self.session.set(self._base_path + [interface])
@@ -123,8 +123,8 @@ class MACsecInterfaceTest(BasicInterfaceTest.BaseTest):
self.session.commit()
self.assertIn(interface, interfaces())
- def test_source_interface(self):
- """ Ensure source-interface can bot be part of any other bond or bridge """
+ def test_macsec_source_interface(self):
+ # Ensure source-interface can bot be part of any other bond or bridge
base_bridge = ['interfaces', 'bridge', 'br200']
base_bond = ['interfaces', 'bonding', 'bond200']