diff options
-rw-r--r-- | source4/scripting/python/samba/tests/hostconfig.py | 2 | ||||
-rw-r--r-- | source4/scripting/python/samba/tests/param.py | 4 | ||||
-rw-r--r-- | source4/scripting/python/samba/tests/samba_tool/timecmd.py | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/tests/hostconfig.py b/source4/scripting/python/samba/tests/hostconfig.py index 8f42a2b652..85cb1df0c1 100644 --- a/source4/scripting/python/samba/tests/hostconfig.py +++ b/source4/scripting/python/samba/tests/hostconfig.py @@ -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") diff --git a/source4/scripting/python/samba/tests/param.py b/source4/scripting/python/samba/tests/param.py index 49dd7fb0a7..f539eba140 100644 --- a/source4/scripting/python/samba/tests/param.py +++ b/source4/scripting/python/samba/tests/param.py @@ -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") diff --git a/source4/scripting/python/samba/tests/samba_tool/timecmd.py b/source4/scripting/python/samba/tests/samba_tool/timecmd.py index a488a668ff..000f0f2828 100644 --- a/source4/scripting/python/samba/tests/samba_tool/timecmd.py +++ b/source4/scripting/python/samba/tests/samba_tool/timecmd.py @@ -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") |