Skip to content

Commit

Permalink
caught some missing _s and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingphilippe committed Dec 20, 2024
1 parent e18169f commit 82c8ef5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ <h3 class="flex justify-between">
</div>

<div class="js-stick-at-bottom-when-scrolling">
<a href="{{ url_for('.invite_org_user', org_id=current_org.id) }}" class="button button-secondary">{{ ("Invite team
<a href="{{ url_for('.invite_org_user', org_id=current_org.id) }}" class="button button-secondary">{{ _("Invite team
member") }}</a>
</div>

Expand Down
6 changes: 3 additions & 3 deletions tests/app/main/views/test_platform_admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 82c8ef5

Please sign in to comment.