      Simple, UndeletableObject, Choice)
  
  
  ERROR_MESSAGE = "Please enter the correct username and password \
  for a staff account. Note that both fields are case-sensitive."
  
  
  @override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
  class AdminViewBasicTest(TestCase):
      fixtures = ['admin-views-users.xml', 'admin-views-colors.xml',
 
</s> remove         self.assertContainsEscaped(response, AuthenticationForm.error_messages['invalid_login'])
 </s> add         self.assertContainsEscaped(response, AuthenticationForm.error_messages['invalid_login'] % {
                'username': User._meta.get_field('username').verbose_name
            }) </s> remove                          [force_text(form.error_messages['invalid_login'])])
 </s> add                 [force_text(form.error_messages['invalid_login'] % {
                   'username': User._meta.get_field('username').verbose_name
                })])
for a staff account. Note that both fields may be case-sensitive."
      Simple, UndeletableObject, Choice)
  
  
  ERROR_MESSAGE = "Please enter the correct username and password \
for a staff account. Note that both fields may be case-sensitive."
  
  
  @override_settings(PASSWORD_HASHERS=('django.contrib.auth.hashers.SHA1PasswordHasher',))
  class AdminViewBasicTest(TestCase):
      fixtures = ['admin-views-users.xml', 'admin-views-colors.xml',
keep keep keep keep replace keep keep keep keep keep
 Corrected tests depending on the error message on the AuthenticationForm.

Refs #19368, and the fix introduced in 27f8129d64292868f6a328f7bf9a1bed67967ff3. 
tests/regressiontests/admin_views/tests.py