'Test our Normpath.'

def testNormpath(self):

    data = [('foo/../../../../', '/'), ('/foo/../../../../bar', '/bar'), ('/foo/bar/../3sdfdfsa/.', '/foo/3sdfdfsa'), ('../foo/bar', '/foo/bar'), ('./foo/bar', '/foo/bar'), ('/', '/')]
    for (test, expected) in data:
        self.assertEqual(expected, utils.NormalizePath(test))
