def METHOD_NAME(
    nonexisting_theme, admin_client
):
    create_link = reverse(
        "misago:admin:themes:new-css-link", kwargs={"pk": nonexisting_theme.pk}
    )
    response = admin_client.get(create_link)
    assert_has_error_message(response)