summaryrefslogtreecommitdiff
path: root/smoketest/scripts/system/test_kernel_options.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/system/test_kernel_options.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/system/test_kernel_options.py')
-rwxr-xr-xsmoketest/scripts/system/test_kernel_options.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/scripts/system/test_kernel_options.py b/smoketest/scripts/system/test_kernel_options.py
index 08c0749c1..4d9cbacbe 100755
--- a/smoketest/scripts/system/test_kernel_options.py
+++ b/smoketest/scripts/system/test_kernel_options.py
@@ -29,13 +29,13 @@ class TestKernelModules(unittest.TestCase):
available in the Kernel that is run. """
def test_bond_interface(self):
- """ The bond/lacp interface must be enabled in the OS Kernel """
+ # The bond/lacp interface must be enabled in the OS Kernel
for option in ['CONFIG_BONDING']:
tmp = re.findall(f'{option}=(y|m)', config)
self.assertTrue(tmp)
def test_bridge_interface(self):
- """ The bridge interface must be enabled in the OS Kernel """
+ # The bridge interface must be enabled in the OS Kernel
for option in ['CONFIG_BRIDGE',
'CONFIG_BRIDGE_IGMP_SNOOPING',
'CONFIG_BRIDGE_VLAN_FILTERING']:
@@ -43,7 +43,7 @@ class TestKernelModules(unittest.TestCase):
self.assertTrue(tmp)
def test_qemu_support(self):
- """ The bond/lacp interface must be enabled in the OS Kernel """
+ # The bond/lacp interface must be enabled in the OS Kernel
for option in ['CONFIG_VIRTIO_BLK', 'CONFIG_SCSI_VIRTIO',
'CONFIG_VIRTIO_NET', 'CONFIG_VIRTIO_CONSOLE',
'CONFIG_VIRTIO', 'CONFIG_VIRTIO_PCI',
@@ -53,7 +53,7 @@ class TestKernelModules(unittest.TestCase):
self.assertTrue(tmp)
def test_vmware_support(self):
- """ The bond/lacp interface must be enabled in the OS Kernel """
+ # The bond/lacp interface must be enabled in the OS Kernel
for option in ['CONFIG_VMXNET3']:
tmp = re.findall(f'{option}=(y|m)', config)
self.assertTrue(tmp)