aboutsummaryrefslogtreecommitdiff
path: root/python/dep_spec_TEST.py
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-14 16:37:25 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-09-14 16:37:25 +0100
commite9b158c79c03382410637ba42816692d1bae610d (patch)
tree1281fc16ee89f4cfbc36a15bff05a9130cd56db4 /python/dep_spec_TEST.py
parent7f02a8cda8ed59df61c8dddbe5b15e3bd1f01611 (diff)
downloadpaludis-e9b158c79c03382410637ba42816692d1bae610d.tar.gz
paludis-e9b158c79c03382410637ba42816692d1bae610d.tar.xz
Tweak block specs
Diffstat (limited to 'python/dep_spec_TEST.py')
-rwxr-xr-xpython/dep_spec_TEST.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/dep_spec_TEST.py b/python/dep_spec_TEST.py
index eb867cd1f..5254f36a5 100755
--- a/python/dep_spec_TEST.py
+++ b/python/dep_spec_TEST.py
@@ -31,7 +31,7 @@ class TestCase_1_DepSpecs(unittest.TestCase):
self.pds3 = parse_user_package_dep_spec("*/*::testrepo", self.env,
[UserPackageDepSpecOption.ALLOW_WILDCARDS])
self.pds4 = parse_user_package_dep_spec("cat/pkg::testrepo", self.env, [])
- self.bds = BlockDepSpec(self.pds)
+ self.bds = BlockDepSpec("!>=foo/bar-1:100::testrepo", self.pds, False)
self.nds = NamedSetDepSpec("system")
def test_01_init(self):
@@ -55,7 +55,7 @@ class TestCase_1_DepSpecs(unittest.TestCase):
self.get_depspecs()
self.assertEqual(str(self.ptds), "foo")
self.assertEqual(str(self.pds), ">=foo/bar-1:100::testrepo")
- self.assertEqual(str(self.bds.blocked_spec), ">=foo/bar-1:100::testrepo")
+ self.assertEqual(str(self.bds.blocking), ">=foo/bar-1:100::testrepo")
self.assertEqual(str(self.nds), "system")
### def test_04_slot(self):