blob: 6e5b536432a0abb757f059c447777a912357e52c [file] [log] [blame]
# test_normalizePath.py -- Portage Unit Testing Functionality
# Copyright 2006-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
from portage.tests import TestCase
class NormalizePathTestCase(TestCase):
def testNormalizePath(self):
from portage.util import normalize_path
path = "///foo/bar/baz"
good = "/foo/bar/baz"
self.assertEqual(normalize_path(path), good)