Delete old thumbnails from the media/cache directory and the database #740
41.93% of diff hit (target 74.11%)
View this Pull Request on Codecov
41.93% of diff hit (target 74.11%)
Annotations
Check warning on line 109 in sorl/thumbnail/kvstores/base.py
codecov / codecov/patch
sorl/thumbnail/kvstores/base.py#L109
Added line #L109 was not covered by tests
Check warning on line 138 in sorl/thumbnail/kvstores/base.py
codecov / codecov/patch
sorl/thumbnail/kvstores/base.py#L135-L138
Added lines #L135 - L138 were not covered by tests
Check warning on line 143 in sorl/thumbnail/kvstores/base.py
codecov / codecov/patch
sorl/thumbnail/kvstores/base.py#L140-L143
Added lines #L140 - L143 were not covered by tests
Check warning on line 48 in sorl/thumbnail/management/commands/thumbnail.py
codecov / codecov/patch
sorl/thumbnail/management/commands/thumbnail.py#L46-L48
Added lines #L46 - L48 were not covered by tests
Check warning on line 56 in sorl/thumbnail/management/commands/thumbnail.py
codecov / codecov/patch
sorl/thumbnail/management/commands/thumbnail.py#L56
Added line #L56 was not covered by tests
Check warning on line 59 in sorl/thumbnail/management/commands/thumbnail.py
codecov / codecov/patch
sorl/thumbnail/management/commands/thumbnail.py#L59
Added line #L59 was not covered by tests
Check warning on line 62 in sorl/thumbnail/management/commands/thumbnail.py
codecov / codecov/patch
sorl/thumbnail/management/commands/thumbnail.py#L61-L62
Added lines #L61 - L62 were not covered by tests
Check warning on line 65 in sorl/thumbnail/management/commands/thumbnail.py
codecov / codecov/patch
sorl/thumbnail/management/commands/thumbnail.py#L65
Added line #L65 was not covered by tests
Check warning on line 70 in sorl/thumbnail/management/commands/thumbnail.py
codecov / codecov/patch
sorl/thumbnail/management/commands/thumbnail.py#L70
Added line #L70 was not covered by tests