equal
deleted
inserted
replaced
77 dist=Distribution(location)) |
77 dist=Distribution(location)) |
78 |
78 |
79 @patch('pkg_resources.iter_entry_points', side_effect=iter_entry_points) |
79 @patch('pkg_resources.iter_entry_points', side_effect=iter_entry_points) |
80 def test_available_cubes(self, mock_iter_entry_points): |
80 def test_available_cubes(self, mock_iter_entry_points): |
81 expected_cubes = [ |
81 expected_cubes = [ |
82 'card', 'cubicweb_comment', 'cubicweb_email', 'file', |
82 'card', 'comment', 'cubicweb_comment', 'cubicweb_email', 'file', |
83 'cubicweb_file', 'cubicweb_forge', 'localperms', |
83 'cubicweb_file', 'cubicweb_forge', 'localperms', |
84 'cubicweb_mycube', 'tag', |
84 'cubicweb_mycube', 'tag', |
85 ] |
85 ] |
86 self._test_available_cubes(expected_cubes) |
86 self._test_available_cubes(expected_cubes) |
87 mock_iter_entry_points.assert_called_once_with( |
87 mock_iter_entry_points.assert_called_once_with( |