summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_system_nameserver.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_system_nameserver.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_system_nameserver.py')
-rwxr-xr-xsmoketest/scripts/cli/test_system_nameserver.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/smoketest/scripts/cli/test_system_nameserver.py b/smoketest/scripts/cli/test_system_nameserver.py
index d86c2b424..5610c90c7 100755
--- a/smoketest/scripts/cli/test_system_nameserver.py
+++ b/smoketest/scripts/cli/test_system_nameserver.py
@@ -41,8 +41,8 @@ class TestSystemNameServer(unittest.TestCase):
del self.session
- def test_add_server(self):
- """ Check if server is added to resolv.conf """
+ def test_nameserver_add(self):
+ # Check if server is added to resolv.conf
for s in test_servers:
self.session.set(base_path + [s])
self.session.commit()
@@ -51,8 +51,8 @@ class TestSystemNameServer(unittest.TestCase):
for s in servers:
self.assertTrue(s in servers)
- def test_delete_server(self):
- """ Test if a deleted server disappears from resolv.conf """
+ def test_nameserver_delete(self):
+ # Test if a deleted server disappears from resolv.conf
for s in test_servers:
self.session.delete(base_path + [s])
self.session.commit()