def test_list_images(self): image_service = self.mock_image.return_value images.ListImages(self.context).run() image_service.list_images.assert_called_once_with()
def test_list_images(self, mock_list_images__list_images): images.ListImages(self.context).run() mock_list_images__list_images.assert_called_once_with()