diff -r f5bd501628b0 -r 14ec625b3f55 test/unittest_cwconfig.py --- a/test/unittest_cwconfig.py Fri Sep 24 13:41:13 2010 +0200 +++ b/test/unittest_cwconfig.py Tue Sep 28 08:36:24 2010 +0200 @@ -96,13 +96,17 @@ # self.assertRaises(KeyError, vcconf.__getitem__, 'CRM') def test_expand_cubes(self): + self.config.__class__.CUBES_PATH = [CUSTOM_CUBES_DIR] + self.config.adjust_sys_path() self.assertEqual(self.config.expand_cubes(('email', 'blog')), ['email', 'blog', 'file']) def test_vregistry_path(self): + self.config.__class__.CUBES_PATH = [CUSTOM_CUBES_DIR] + self.config.adjust_sys_path() self.assertEqual([unabsolutize(p) for p in self.config.vregistry_path()], ['entities', 'web/views', 'sobjects', 'hooks', - 'file/entities.py', 'file/views', 'file/hooks.py', + 'file/entities', 'file/views.py', 'file/hooks', 'email/entities.py', 'email/views', 'email/hooks.py', 'test/data/entities.py', 'test/data/views.py'])