Closed leture closed 10 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2e463bf
) 76.36% compared to head (5b02c31
) 81.79%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@leture Do you think you can cover this in a test?
@fsbraun Because of the lack of an existing test to just adjust I wrote a test for the helper extract_images
which subsequently also tests create_picture_plugin
. This seemed to be more worthwhile than just a direct call to create_picture_plugin
. So it is tested that the image extraction logic is actually executed on a text plugin save.
@fsbraun I am finished here.
djangocms-picture 2.0.0 switched to a filer reference to store the image so the helper must create a filer image instance
Refs #642