From 0548914256cf14663d1ec06aa0b0fcda427fe428 Mon Sep 17 00:00:00 2001 From: Guido Trotter <ultrotter@google.com> Date: Mon, 10 May 2010 10:15:24 +0100 Subject: [PATCH] Fix a unittest name and docstring The docstring has been copied by the name, but the name reports a misspell of the function it is actually testing. Signed-off-by: Guido Trotter <ultrotter@google.com> Reviewed-by: Balazs Lecz <leczb@google.com> --- test/ganeti.utils_unittest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/ganeti.utils_unittest.py b/test/ganeti.utils_unittest.py index 4babe85ab..ee4af14fe 100755 --- a/test/ganeti.utils_unittest.py +++ b/test/ganeti.utils_unittest.py @@ -1320,8 +1320,8 @@ class TestForceDictType(unittest.TestCase): self.assertRaises(errors.TypeEnforcementError, self._fdt, {'d': '4 L'}) -class TestIsAbsNormPath(unittest.TestCase): - """Testing case for IsAbsNormPath""" +class TestIsNormAbsPath(unittest.TestCase): + """Testing case for IsNormAbsPath""" def _pathTestHelper(self, path, result): if result: -- GitLab