summaryrefslogtreecommitdiffstats
path: root/pym/portage/tests/util
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2007-03-06 07:35:22 +0000
committerAlec Warner <antarus@gentoo.org>2007-03-06 07:35:22 +0000
commit61f72875e61383dcecacf4815a8ef181e2c9cecd (patch)
treef1ec26d27c5d36f3403d8e0ade46ef333df265ad /pym/portage/tests/util
parentfc831137d4a93582bc23916ea5b993674970b1a9 (diff)
downloadportage-61f72875e61383dcecacf4815a8ef181e2c9cecd.tar.gz
portage-61f72875e61383dcecacf4815a8ef181e2c9cecd.tar.bz2
portage-61f72875e61383dcecacf4815a8ef181e2c9cecd.zip
Update all the unittests to use the new framework, test skipping with isValidAtom, add silly xpak test since I have it 'done'
svn path=/main/trunk/; revision=6182
Diffstat (limited to 'pym/portage/tests/util')
-rw-r--r--pym/portage/tests/util/test_grabdict.py2
-rw-r--r--pym/portage/tests/util/test_normalizedPath.py2
-rw-r--r--pym/portage/tests/util/test_stackDictList.py2
-rw-r--r--pym/portage/tests/util/test_stackDicts.py2
-rw-r--r--pym/portage/tests/util/test_stackLists.py2
-rw-r--r--pym/portage/tests/util/test_uniqueArray.py2
-rw-r--r--pym/portage/tests/util/test_varExpand.py2
7 files changed, 7 insertions, 7 deletions
diff --git a/pym/portage/tests/util/test_grabdict.py b/pym/portage/tests/util/test_grabdict.py
index 9f7b58921..2a0642243 100644
--- a/pym/portage/tests/util/test_grabdict.py
+++ b/pym/portage/tests/util/test_grabdict.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase, TestLoader
+from portage.tests import TestCase
from portage.util import grabdict
class GrabDictTestCase(TestCase):
diff --git a/pym/portage/tests/util/test_normalizedPath.py b/pym/portage/tests/util/test_normalizedPath.py
index bd575d266..b6851651a 100644
--- a/pym/portage/tests/util/test_normalizedPath.py
+++ b/pym/portage/tests/util/test_normalizedPath.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase
+from portage.tests import TestCase
class NormalizePathTestCase(TestCase):
diff --git a/pym/portage/tests/util/test_stackDictList.py b/pym/portage/tests/util/test_stackDictList.py
index 9e7a38ba1..ada56fa0f 100644
--- a/pym/portage/tests/util/test_stackDictList.py
+++ b/pym/portage/tests/util/test_stackDictList.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase
+from portage.tests import TestCase
class StackDictListTestCase(TestCase):
diff --git a/pym/portage/tests/util/test_stackDicts.py b/pym/portage/tests/util/test_stackDicts.py
index 9d9637440..aa8a712ef 100644
--- a/pym/portage/tests/util/test_stackDicts.py
+++ b/pym/portage/tests/util/test_stackDicts.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase
+from portage.tests import TestCase
from portage.util import stack_dicts
diff --git a/pym/portage/tests/util/test_stackLists.py b/pym/portage/tests/util/test_stackLists.py
index 3fc028323..c26bbb06a 100644
--- a/pym/portage/tests/util/test_stackLists.py
+++ b/pym/portage/tests/util/test_stackLists.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase
+from portage.tests import TestCase
from portage.util import stack_lists
class StackListsTestCase(TestCase):
diff --git a/pym/portage/tests/util/test_uniqueArray.py b/pym/portage/tests/util/test_uniqueArray.py
index 62a315321..e1b9caec8 100644
--- a/pym/portage/tests/util/test_uniqueArray.py
+++ b/pym/portage/tests/util/test_uniqueArray.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase
+from portage.tests import TestCase
from portage.util import unique_array
class UniqueArrayTestCase(TestCase):
diff --git a/pym/portage/tests/util/test_varExpand.py b/pym/portage/tests/util/test_varExpand.py
index 47dc7de2c..0a8bf5b11 100644
--- a/pym/portage/tests/util/test_varExpand.py
+++ b/pym/portage/tests/util/test_varExpand.py
@@ -3,7 +3,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-from unittest import TestCase, TestLoader
+from portage.tests import TestCase
from portage.util import varexpand
class VarExpandTestCase(TestCase):