equal
deleted
inserted
replaced
140 self.assertEqual(path[7], 'email/entities.py') |
140 self.assertEqual(path[7], 'email/entities.py') |
141 self.assertCountEqual(path[8:10], |
141 self.assertCountEqual(path[8:10], |
142 ['email/views', 'email/hooks.py']) |
142 ['email/views', 'email/hooks.py']) |
143 self.assertEqual(path[10:], ['test/data/entities.py', 'test/data/views.py']) |
143 self.assertEqual(path[10:], ['test/data/entities.py', 'test/data/views.py']) |
144 |
144 |
|
145 def test_init_cubes_ignore_pyramid_cube(self): |
|
146 warning_msg = 'cubicweb-pyramid got integrated into CubicWeb' |
|
147 with self.assertLogs('cubicweb.configuration', level='WARNING') as cm: |
|
148 self.config.init_cubes(['pyramid', 'card']) |
|
149 self.assertIn(warning_msg, cm.output[0]) |
|
150 self.assertNotIn('pyramid', self.config._cubes) |
145 |
151 |
146 class CubicWebConfigurationWithLegacyCubesTC(CubicWebConfigurationTC): |
152 class CubicWebConfigurationWithLegacyCubesTC(CubicWebConfigurationTC): |
147 |
153 |
148 @classmethod |
154 @classmethod |
149 def setUpClass(cls): |
155 def setUpClass(cls): |