From fdf0f625216cc5a70d28a3ac9a41f41935f1827c Mon Sep 17 00:00:00 2001 From: Shai Berger Date: Thu, 1 Sep 2022 00:39:08 +0300 Subject: Fixed ReadOnlyPasswordHashWidget's template for RTL languages. --- tests/auth_tests/test_views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/auth_tests/test_views.py') 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, - "algorithm: %s\n\n" - "salt: %s********************\n\n" - "hash: %s**************************\n\n" + "algorithm: %s\n\n" + "salt: %s********************\n\n" + "hash: %s**************************\n\n" % ( algo, salt[:2], -- cgit v1.3