diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-12-29 21:51:24 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-12-29 22:47:04 +0100 |
commit | f2b2bbdd51cb00a8be1aefa1f9028212fcffc1d3 (patch) | |
tree | 9b799a6f53c6bc05d5de2444873145f2ccd0591d /smoketest/scripts/cli/test_system_login.py | |
parent | 5b6b865b71415a1be9d5a758dfbccb81906f2f2a (diff) | |
download | vyos-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_system_login.py')
-rwxr-xr-x | smoketest/scripts/cli/test_system_login.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_system_login.py b/smoketest/scripts/cli/test_system_login.py index eb749b164..6188cf38b 100755 --- a/smoketest/scripts/cli/test_system_login.py +++ b/smoketest/scripts/cli/test_system_login.py @@ -43,7 +43,7 @@ class TestSystemLogin(unittest.TestCase): del self.session def test_local_user(self): - """ Check if user can be created and we can SSH to localhost """ + # Check if user can be created and we can SSH to localhost self.session.set(['service', 'ssh', 'port', '22']) for user in users: @@ -69,7 +69,7 @@ class TestSystemLogin(unittest.TestCase): self.assertTrue(len(stdout) > 40) def test_radius_kernel_features(self): - """ T2886: RADIUS requires some Kernel options to be present """ + # T2886: RADIUS requires some Kernel options to be present kernel = platform.release() kernel_config = read_file(f'/boot/config-{kernel}') @@ -83,7 +83,7 @@ class TestSystemLogin(unittest.TestCase): self.assertIn(f'{option}=y', kernel_config) def test_radius_config(self): - """ Verify generated RADIUS configuration files """ + # Verify generated RADIUS configuration files radius_key = 'VyOSsecretVyOS' radius_server = '172.16.100.10' |