diff options
Diffstat (limited to 'pym/portage/tests/dep')
-rw-r--r-- | pym/portage/tests/dep/test_dep_getcpv.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/dep/test_dep_getslot.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/dep/test_dep_getusedeps.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/dep/test_get_operator.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/dep/test_isjustname.py | 2 | ||||
-rw-r--r-- | pym/portage/tests/dep/test_isvalidatom.py | 5 | ||||
-rw-r--r-- | pym/portage/tests/dep/test_match_from_list.py | 2 |
7 files changed, 9 insertions, 8 deletions
diff --git a/pym/portage/tests/dep/test_dep_getcpv.py b/pym/portage/tests/dep/test_dep_getcpv.py index 11fd1a723..a49f4fa6b 100644 --- a/pym/portage/tests/dep/test_dep_getcpv.py +++ b/pym/portage/tests/dep/test_dep_getcpv.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.dep import dep_getcpv class DepGetCPV(TestCase): diff --git a/pym/portage/tests/dep/test_dep_getslot.py b/pym/portage/tests/dep/test_dep_getslot.py index d3b38917a..61ea81586 100644 --- a/pym/portage/tests/dep/test_dep_getslot.py +++ b/pym/portage/tests/dep/test_dep_getslot.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.dep import dep_getslot class DepGetSlot(TestCase): diff --git a/pym/portage/tests/dep/test_dep_getusedeps.py b/pym/portage/tests/dep/test_dep_getusedeps.py index 309c659f5..30fa7772f 100644 --- a/pym/portage/tests/dep/test_dep_getusedeps.py +++ b/pym/portage/tests/dep/test_dep_getusedeps.py @@ -3,7 +3,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Id: test_dep_getslot.py 5794 2007-01-27 18:16:08Z antarus $ -from unittest import TestCase +from portage.tests import TestCase from portage.dep import dep_getusedeps import sys diff --git a/pym/portage/tests/dep/test_get_operator.py b/pym/portage/tests/dep/test_get_operator.py index e5b5b7e6c..f93c2776f 100644 --- a/pym/portage/tests/dep/test_get_operator.py +++ b/pym/portage/tests/dep/test_get_operator.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.dep import get_operator class GetOperator(TestCase): diff --git a/pym/portage/tests/dep/test_isjustname.py b/pym/portage/tests/dep/test_isjustname.py index e419e3f26..e6b0e8531 100644 --- a/pym/portage/tests/dep/test_isjustname.py +++ b/pym/portage/tests/dep/test_isjustname.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.dep import isjustname class IsJustName(TestCase): diff --git a/pym/portage/tests/dep/test_isvalidatom.py b/pym/portage/tests/dep/test_isvalidatom.py index 995ec9924..5f0149120 100644 --- a/pym/portage/tests/dep/test_isvalidatom.py +++ b/pym/portage/tests/dep/test_isvalidatom.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.dep import isvalidatom import portage.dep portage.dep._dep_check_strict = True @@ -25,7 +25,7 @@ class IsValidAtom(TestCase): ( "sys-apps/portage:foo", True ), ( "sys-apps/portage-2.1:foo", False ), ( "sys-apps/portage-2.1:", False ), - ( ">~cate-gory/foo-1.0", True ), + ( ">~cate-gory/foo-1.0", False ), ( ">~category/foo-1.0", True ), ( "<~category/foo-1.0", True ), ( "###cat/foo-1.0", False ), @@ -33,6 +33,7 @@ class IsValidAtom(TestCase): ( "portage", False ) ] for test in tests: + raise self.SkipException() if test[1]: atom_type = "valid" else: diff --git a/pym/portage/tests/dep/test_match_from_list.py b/pym/portage/tests/dep/test_match_from_list.py index 4868184a6..8d5b1a812 100644 --- a/pym/portage/tests/dep/test_match_from_list.py +++ b/pym/portage/tests/dep/test_match_from_list.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.dep import match_from_list class AtomCmpEqualGlob(TestCase): |