]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:tests: fix use of a non-existent word (existant)
authorMichael Adam <obnox@samba.org>
Mon, 11 Jun 2012 15:52:57 +0000 (17:52 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 12 Jun 2012 05:21:45 +0000 (07:21 +0200)
source4/scripting/python/samba/tests/hostconfig.py
source4/scripting/python/samba/tests/param.py
source4/scripting/python/samba/tests/samba_tool/timecmd.py

index 8f42a2b6529111fd56e29a731c787aea2e9c6539..85cb1df0c150de7e3121107b408bb8c452dc9e54 100644 (file)
@@ -63,7 +63,7 @@ class ShareTests(TestCase):
         shares = self._get_shares({"global": {}})
         self.assertEquals(0, len(shares))
 
-    def test_getitem_nonexistant(self):
+    def test_getitem_nonexistent(self):
         shares = self._get_shares({"global": {}})
         self.assertRaises(KeyError, shares.__getitem__, "bla")
 
index 49dd7fb0a7f4456cf0b5f65413c8be67047c0590..f539eba140dcfb7f3252ee8d30c77ae301aad0b9 100644 (file)
@@ -51,7 +51,7 @@ class LoadParmTestCase(samba.tests.TestCase):
         file = param.LoadParm()
         file.load_default()
 
-    def test_section_nonexistant(self):
+    def test_section_nonexistent(self):
         samba_lp = param.LoadParm()
         samba_lp.load_default()
-        self.assertRaises(KeyError, samba_lp.__getitem__, "nonexistant")
+        self.assertRaises(KeyError, samba_lp.__getitem__, "nonexistent")
index a488a668fffe79f4246907fc0b73f33210d13fbe..000f0f2828228c8b2b7050599f0a5c5d2ef122ff 100644 (file)
@@ -36,7 +36,7 @@ class TimeCmdTestCase(SambaToolCmdTest):
         self.assertTrue((servertime > (now - delta) and (servertime < (now + delta)), "Time is now"))
 
     def test_timefail(self):
-        """Run time against a non-existant server, and make sure it fails"""
+        """Run time against a non-existent server, and make sure it fails"""
         (result, out, err) = self.runcmd("time", "notaserver")
         self.assertEquals(result, -1, "check for result code")
         self.assertTrue(err.strip().endswith("NT_STATUS_OBJECT_NAME_NOT_FOUND"), "ensure right error string")