summaryrefslogtreecommitdiff
path: root/smoketest/scripts/cli/test_system_nameserver.py
diff options
context:
space:
mode:
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()