diff options
| author | Claude Paroz <claude@2xlibre.net> | 2020-11-10 21:32:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-10 21:32:15 +0100 |
| commit | 187482d743c1bf27e32b43f37314607248106af4 (patch) | |
| tree | 0233b9919611e34576f97dbf1b163c5a08785d55 /tests/auth_tests | |
| parent | 4cd77f97a2d30d58841041a73d277ec4bfb7b530 (diff) | |
Avoided direct styles in admin templates.
Direct styles might be forbidden by Content Security Policies.
Diffstat (limited to 'tests/auth_tests')
| -rw-r--r-- | tests/auth_tests/test_templates.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auth_tests/test_templates.py b/tests/auth_tests/test_templates.py index b9db10763c..866e4bd355 100644 --- a/tests/auth_tests/test_templates.py +++ b/tests/auth_tests/test_templates.py @@ -56,7 +56,7 @@ class AuthTemplateTests(TestCase): # browser's password managers. self.assertContains( response, - '<input style="display: none;" autocomplete="username" value="jsmith">', + '<input class="hidden" autocomplete="username" value="jsmith">', ) def test_PasswordResetCompleteView(self): |
