summaryrefslogtreecommitdiff
path: root/tests/auth_tests/test_views.py
diff options
context:
space:
mode:
authorShai Berger <shai@platonix.com>2022-09-01 00:39:08 +0300
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-09-01 21:20:15 +0200
commitfdf0f625216cc5a70d28a3ac9a41f41935f1827c (patch)
tree491da8599c1ac4b1a89826583ad53aab29ebdc89 /tests/auth_tests/test_views.py
parent974942a75039ba43e618f6a5ff95e08b5d5176fd (diff)
Fixed ReadOnlyPasswordHashWidget's template for RTL languages.
Diffstat (limited to 'tests/auth_tests/test_views.py')
-rw-r--r--tests/auth_tests/test_views.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py
index 2941716422..5ea536151e 100644
--- a/tests/auth_tests/test_views.py
+++ b/tests/auth_tests/test_views.py
@@ -1519,9 +1519,9 @@ class ChangelistTests(AuthViewsTestCase):
# ReadOnlyPasswordHashWidget is used to render the field.
self.assertContains(
response,
- "<strong>algorithm</strong>: %s\n\n"
- "<strong>salt</strong>: %s********************\n\n"
- "<strong>hash</strong>: %s**************************\n\n"
+ "<strong>algorithm</strong>: <bdi>%s</bdi>\n\n"
+ "<strong>salt</strong>: <bdi>%s********************</bdi>\n\n"
+ "<strong>hash</strong>: <bdi>%s**************************</bdi>\n\n"
% (
algo,
salt[:2],