summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/util/test_normalizedPath.py
blob: b6851651ade7bcdfee10468fc79d8bbbc63576e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# test_normalizePath.py -- Portage Unit Testing Functionality
# Copyright 2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

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)