Fix a unittest name and docstring
authorGuido Trotter <ultrotter@google.com>
Mon, 10 May 2010 09:15:24 +0000 (10:15 +0100)
committerGuido Trotter <ultrotter@google.com>
Mon, 10 May 2010 09:23:19 +0000 (10:23 +0100)
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

index 4babe85..ee4af14 100755 (executable)
@@ -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: