From 82c8ef5d6127085884c8b1bb0c497a4f5718d0f0 Mon Sep 17 00:00:00 2001 From: Philippe Caron Date: Fri, 20 Dec 2024 19:43:00 +0000 Subject: [PATCH] caught some missing _s and fix tests --- .../organisations/organisation/settings/edit-agreement.html | 2 +- .../views/organisations/organisation/users/index.html | 2 +- tests/app/main/views/test_platform_admin.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/templates/views/organisations/organisation/settings/edit-agreement.html b/app/templates/views/organisations/organisation/settings/edit-agreement.html index 0a7140f97..be1aeb2d6 100644 --- a/app/templates/views/organisations/organisation/settings/edit-agreement.html +++ b/app/templates/views/organisations/organisation/settings/edit-agreement.html @@ -6,7 +6,7 @@ {% extends "org_template.html" %} {% block org_page_title %} -{{ ("GC Notify data sharing and financial agreement") }} +{{ _("GC Notify data sharing and financial agreement") }} {% endblock %} {% block org_content %} diff --git a/app/templates/views/organisations/organisation/users/index.html b/app/templates/views/organisations/organisation/users/index.html index 013f81622..a086f8ba4 100644 --- a/app/templates/views/organisations/organisation/users/index.html +++ b/app/templates/views/organisations/organisation/users/index.html @@ -54,7 +54,7 @@

diff --git a/tests/app/main/views/test_platform_admin.py b/tests/app/main/views/test_platform_admin.py index 47e671fed..8caac4d77 100644 --- a/tests/app/main/views/test_platform_admin.py +++ b/tests/app/main/views/test_platform_admin.py @@ -503,9 +503,9 @@ def test_should_show_archived_services_last( table_body = page.find_all("table")[0].find_all("tbody")[0] services = [service.tr for service in table_body.find_all("tbody")] assert len(services) == 3 - assert services[0].td.text.strip() == "A" - assert services[1].td.text.strip() == "B" - assert services[2].td.text.strip() == "C" + assert services[0].th.a.text.strip() == "A" + assert services[1].th.a.text.strip() == "B" + assert services[2].th.a.text.strip() == "C" @pytest.mark.parametrize("research_mode", (True, False))