def METHOD_NAME(
    theme, admin_client, css
):
    edit_link = reverse(
        "misago:admin:themes:edit-css-link", kwargs={"pk": theme.pk, "css_pk": css.pk}
    )
    response = admin_client.get(edit_link)
    assert_has_error_message(response)