From 707aa6e9662c4a6f4572914717138d6e0f3ddaf7 Mon Sep 17 00:00:00 2001 From: Alec Warner Date: Sat, 27 Jan 2007 18:12:48 +0000 Subject: fix namespacing in tests svn path=/main/trunk/; revision=5792 --- tests/portage_util/__init__.py | 2 +- tests/portage_util/test_grabdict.py | 2 +- tests/portage_util/test_normalizedPath.py | 2 +- tests/portage_util/test_stackDictList.py | 2 +- tests/portage_util/test_stackDicts.py | 2 +- tests/portage_util/test_stackLists.py | 2 +- tests/portage_util/test_uniqueArray.py | 4 ++-- tests/portage_util/test_varExpand.py | 2 +- 8 files changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/portage_util') diff --git a/tests/portage_util/__init__.py b/tests/portage_util/__init__.py index 9325f85f1..9a66903d1 100644 --- a/tests/portage_util/__init__.py +++ b/tests/portage_util/__init__.py @@ -1,4 +1,4 @@ -# tests/portage_util/__init__.py -- Portage Unit Test functionality +# tests/portage.util/__init__.py -- Portage Unit Test functionality # Copyright 2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ diff --git a/tests/portage_util/test_grabdict.py b/tests/portage_util/test_grabdict.py index 9b995fa24..9f7b58921 100644 --- a/tests/portage_util/test_grabdict.py +++ b/tests/portage_util/test_grabdict.py @@ -4,7 +4,7 @@ # $Id$ from unittest import TestCase, TestLoader -from portage_util import grabdict +from portage.util import grabdict class GrabDictTestCase(TestCase): diff --git a/tests/portage_util/test_normalizedPath.py b/tests/portage_util/test_normalizedPath.py index 9740306aa..bd575d266 100644 --- a/tests/portage_util/test_normalizedPath.py +++ b/tests/portage_util/test_normalizedPath.py @@ -9,7 +9,7 @@ class NormalizePathTestCase(TestCase): def testNormalizePath(self): - from portage_util import normalize_path + from portage.util import normalize_path path = "///foo/bar/baz" good = "/foo/bar/baz" self.assertEqual(normalize_path(path), good) diff --git a/tests/portage_util/test_stackDictList.py b/tests/portage_util/test_stackDictList.py index 45b67b838..9e7a38ba1 100644 --- a/tests/portage_util/test_stackDictList.py +++ b/tests/portage_util/test_stackDictList.py @@ -8,7 +8,7 @@ from unittest import TestCase class StackDictListTestCase(TestCase): def testStackDictList(self): - from portage_util import stack_dictlist + from portage.util import stack_dictlist tests = [ ({'a':'b'},{'x':'y'},False,{'a':['b'],'x':['y']}) ] tests.append(( {'KEYWORDS':['alpha','x86']},{'KEYWORDS':['-*']},True,{} )) diff --git a/tests/portage_util/test_stackDicts.py b/tests/portage_util/test_stackDicts.py index 7293004b6..9d9637440 100644 --- a/tests/portage_util/test_stackDicts.py +++ b/tests/portage_util/test_stackDicts.py @@ -4,7 +4,7 @@ # $Id$ from unittest import TestCase -from portage_util import stack_dicts +from portage.util import stack_dicts class StackDictsTestCase(TestCase): diff --git a/tests/portage_util/test_stackLists.py b/tests/portage_util/test_stackLists.py index 9a88902da..3fc028323 100644 --- a/tests/portage_util/test_stackLists.py +++ b/tests/portage_util/test_stackLists.py @@ -4,7 +4,7 @@ # $Id$ from unittest import TestCase -from portage_util import stack_lists +from portage.util import stack_lists class StackListsTestCase(TestCase): diff --git a/tests/portage_util/test_uniqueArray.py b/tests/portage_util/test_uniqueArray.py index c9c9e217d..62a315321 100644 --- a/tests/portage_util/test_uniqueArray.py +++ b/tests/portage_util/test_uniqueArray.py @@ -4,13 +4,13 @@ # $Id$ from unittest import TestCase -from portage_util import unique_array +from portage.util import unique_array class UniqueArrayTestCase(TestCase): def testUniqueArrayPass(self): """ - test portage_util.uniqueArray() + test portage.util.uniqueArray() """ import os diff --git a/tests/portage_util/test_varExpand.py b/tests/portage_util/test_varExpand.py index 0515bf7e5..47dc7de2c 100644 --- a/tests/portage_util/test_varExpand.py +++ b/tests/portage_util/test_varExpand.py @@ -4,7 +4,7 @@ # $Id$ from unittest import TestCase, TestLoader -from portage_util import varexpand +from portage.util import varexpand class VarExpandTestCase(TestCase): -- cgit v1.2.3-1-g7c22