diff --git a/securedrop/tests/test_i18n.py b/securedrop/tests/test_i18n.py index 06334fccb26..483233dde54 100644 --- a/securedrop/tests/test_i18n.py +++ b/securedrop/tests/test_i18n.py @@ -228,6 +228,9 @@ def verify_i18n(app): assert 'hreflang="fr-FR"' in locales c.get("/?l=ar") + # We have to render a template that inherits from "base.html" so that "tab_title" will be + # set. But we're just checking that when a page is rendered in an RTL language the + # directionality is correct, so it doesn't matter which template we render. base = render_template("error.html", error={}) assert 'dir="rtl"' in base