aboutsummaryrefslogtreecommitdiff
path: root/python/dep_spec_TEST.py
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-12-29 23:48:09 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2007-12-29 23:48:09 +0000
commita9f4540c2ab1d7f6704c2bf7bdb41f8c9e18ae4a (patch)
tree9f88a8dcf7d81e2614c6fc39add69793f8e99d92 /python/dep_spec_TEST.py
parent5c955c37d351d0a64d566d9316b704c4676fc44e (diff)
downloadpaludis-a9f4540c2ab1d7f6704c2bf7bdb41f8c9e18ae4a.tar.gz
paludis-a9f4540c2ab1d7f6704c2bf7bdb41f8c9e18ae4a.tar.xz
[use?] deps in paludis-1, exheres-0. Change how we handle UseRequirements to support this. FIxes: ticket:312
Diffstat (limited to 'python/dep_spec_TEST.py')
-rwxr-xr-xpython/dep_spec_TEST.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/python/dep_spec_TEST.py b/python/dep_spec_TEST.py
index bc2fb040c..c988d3b0b 100755
--- a/python/dep_spec_TEST.py
+++ b/python/dep_spec_TEST.py
@@ -79,11 +79,11 @@ class TestCase_1_DepSpecs(unittest.TestCase):
self.get_depspecs()
self.assertEquals(self.pds.version_requirements_mode, VersionRequirementsMode.AND)
- def test_09_use_requirements(self):
- spec = parse_user_package_dep_spec("foo/monkey[foo]", UserPackageDepSpecOptions())
- ur = iter(spec.use_requirements).next()
- self.assertEquals(str(ur[0]), "foo")
- self.assertEquals(ur[1], UseFlagState.ENABLED)
+### def test_09_use_requirements(self):
+### spec = parse_user_package_dep_spec("foo/monkey[foo]", UserPackageDepSpecOptions())
+### ur = iter(spec.use_requirements).next()
+### self.assertEquals(str(ur[0]), "foo")
+### self.assertEquals(ur[1], UseFlagState.ENABLED)
def test_10_without_use_requirements(self):
spec = parse_user_package_dep_spec("foo/monkey[foo]", UserPackageDepSpecOptions())