equal
deleted
inserted
replaced
111 'test/data/entities.py', 'test/data/views.py']) |
111 'test/data/entities.py', 'test/data/views.py']) |
112 |
112 |
113 def test_cubes_path(self): |
113 def test_cubes_path(self): |
114 # make sure we don't import the email cube, but the stdlib email package |
114 # make sure we don't import the email cube, but the stdlib email package |
115 import email |
115 import email |
116 self.assertNotEquals(dirname(email.__file__), self.config.CUBES_DIR) |
116 self.assertNotEqual(dirname(email.__file__), self.config.CUBES_DIR) |
117 self.config.__class__.CUBES_PATH = [CUSTOM_CUBES_DIR] |
117 self.config.__class__.CUBES_PATH = [CUSTOM_CUBES_DIR] |
118 self.assertEqual(self.config.cubes_search_path(), |
118 self.assertEqual(self.config.cubes_search_path(), |
119 [CUSTOM_CUBES_DIR, self.config.CUBES_DIR]) |
119 [CUSTOM_CUBES_DIR, self.config.CUBES_DIR]) |
120 self.config.__class__.CUBES_PATH = [CUSTOM_CUBES_DIR, |
120 self.config.__class__.CUBES_PATH = [CUSTOM_CUBES_DIR, |
121 self.config.CUBES_DIR, 'unexistant'] |
121 self.config.CUBES_DIR, 'unexistant'] |