test/unittest_cwconfig.py
changeset 5025 2826f5406201
parent 5021 58e89f3dfbae
child 5423 e15abfdcce38
--- a/test/unittest_cwconfig.py	Thu Mar 25 20:33:03 2010 +0100
+++ b/test/unittest_cwconfig.py	Thu Mar 25 20:38:58 2010 +0100
@@ -55,7 +55,7 @@
 
     def test_reorder_cubes_recommends(self):
         from cubes.comment import __pkginfo__ as comment_pkginfo
-        comment_pkginfo.__recommend__ = ('file',)
+        comment_pkginfo.__recommends_cubes__ = {'file': None}
         try:
             # email recommends comment
             # comment recommends file
@@ -68,7 +68,7 @@
             self.assertEquals(self.config.reorder_cubes(('comment', 'forge', 'email', 'file')),
                               ('forge', 'email', 'comment', 'file'))
         finally:
-            comment_pkginfo.__use__ = ()
+            comment_pkginfo.__recommends_cubes__ = {}
 
 
 #     def test_vc_config(self):