cubicweb/test/unittest_cwconfig.py
branch3.25
changeset 12115 8d0127498a28
parent 12078 82d2c1cdf0c2
child 12117 49beb974888f
equal deleted inserted replaced
12109:425be06bb1e8 12115:8d0127498a28
   125                              dist=Distribution(location))
   125                              dist=Distribution(location))
   126 
   126 
   127     @patch('pkg_resources.iter_entry_points', side_effect=iter_entry_points)
   127     @patch('pkg_resources.iter_entry_points', side_effect=iter_entry_points)
   128     def test_available_cubes(self, mock_iter_entry_points):
   128     def test_available_cubes(self, mock_iter_entry_points):
   129         expected_cubes = [
   129         expected_cubes = [
   130             'card', 'comment', 'email', 'file',
   130             'card', 'comment', 'cubicweb_comment', 'cubicweb_email', 'file',
   131             'forge', 'localperms',
   131             'cubicweb_file', 'cubicweb_forge', 'localperms',
   132             'mycube', 'tag',
   132             'cubicweb_mycube', 'tag',
   133         ]
   133         ]
   134         self._test_available_cubes(expected_cubes)
   134         self._test_available_cubes(expected_cubes)
   135         mock_iter_entry_points.assert_called_once_with(
   135         mock_iter_entry_points.assert_called_once_with(
   136             group='cubicweb.cubes', name=None)
   136             group='cubicweb.cubes', name=None)
   137 
   137