@staticmethod
    def cleanup_files(sender, instance, **kwargs):
        from backend.tasks import cleanup_files
        cleanup_files.delay(instance.id)
Check that an album cover can be updated using IDs
dataset/ETHPy150Open gunnery/gunnery/gunnery/core/models.py/Environment.cleanup_files--crossover with--dataset/ETHPy150Open photo/openphoto-python/tests/unit/test_albums.py/TestAlbumUpdateCover.test_album_cover_update_id