Revision 17c61836 test/ganeti.utils_unittest.py

b/test/ganeti.utils_unittest.py
975 975
  def _pathTestHelper(self, path, result):
976 976
    if result:
977 977
      self.assert_(IsNormAbsPath(path),
978
          "Path %s should be absolute and normal" % path)
978
          "Path %s should result absolute and normalized" % path)
979 979
    else:
980 980
      self.assert_(not IsNormAbsPath(path),
981
          "Path %s should not be absolute and normal" % path)
981
          "Path %s should not result absolute and normalized" % path)
982 982

  
983 983
  def testBase(self):
984 984
    self._pathTestHelper('/etc', True)

Also available in: Unified diff