FIX: Re-add overridden login view

This commit is contained in:
2020-03-07 15:25:58 +00:00
parent 5c5ccd244d
commit 739913a2c9
3 changed files with 3 additions and 2 deletions

View File

@@ -95,7 +95,7 @@ class UserRegistrationTest(LiveServerTestCase):
alert = self.browser.find_element_by_css_selector(
'div.alert-danger').text
# Note to future maintainers - mind out for smart quotes...
self.assertIn("password fields didnt match", alert)
self.assertIn("password fields didn't match", alert)
# Passwords should be empty
self.assertEqual(password1.get_attribute('value'), '')