def METHOD_NAME(admin_client, default_theme):
    delete_link = reverse("misago:admin:themes:delete", kwargs={"pk": default_theme.pk})
    response = admin_client.post(delete_link)
    assert_has_error_message(response)