From efb15b49d8a6faabe0862385280d4037f9ed75e1 Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Mon, 23 Dec 2024 19:21:53 -0500 Subject: [PATCH] Fix ext-theme tests (#11872) Matches https://github.com/readthedocs/ext-theme/pull/549/ This also needs https://github.com/readthedocs/ext-theme/pull/552 --- .../templates/organizations/organization_choose.html | 2 +- readthedocs/organizations/tests/test_views.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/readthedocs/organizations/templates/organizations/organization_choose.html b/readthedocs/organizations/templates/organizations/organization_choose.html index 20ba84da4ab..8c668b30d98 100644 --- a/readthedocs/organizations/templates/organizations/organization_choose.html +++ b/readthedocs/organizations/templates/organizations/organization_choose.html @@ -42,7 +42,7 @@

{% trans "Choose an organization" %}

{% else %} -

{% trans "You aren't currently a member of any organizations." %}

+

{% trans "Your user is not a member of an organization yet." %}

{% endif %} diff --git a/readthedocs/organizations/tests/test_views.py b/readthedocs/organizations/tests/test_views.py index 1d7fd4aee30..33544ab98fd 100644 --- a/readthedocs/organizations/tests/test_views.py +++ b/readthedocs/organizations/tests/test_views.py @@ -462,4 +462,4 @@ def test_choose_organization_edit(self): resp = self.client.get( reverse("organization_choose", kwargs={"next_name": "organization_edit"}) ) - self.assertContains(resp, "You aren't currently a member of any organizations") + self.assertContains(resp, "Your user is not a member of an organization yet")