def METHOD_NAME(admin_client):
    def delete_assets(theme, assets):
        url = reverse("misago:admin:themes:delete-media", kwargs={"pk": theme.pk})
        return admin_client.post(url, {"item": [i.pk for i in assets]})
    return delete_assets