From e1b84f5182a35456bcf93110c3f6fcefbf510831 Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sat, 7 Mar 2020 15:43:33 +0000 Subject: [PATCH] FIX: Bloody smartquotes --- RIGS/test_functional.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/RIGS/test_functional.py b/RIGS/test_functional.py index e6af1815..c40e9592 100644 --- a/RIGS/test_functional.py +++ b/RIGS/test_functional.py @@ -94,8 +94,8 @@ class UserRegistrationTest(LiveServerTestCase): # Read what the error is 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 didn't match", alert) + # TODO Use regex matching to handle smart/unsmart quotes... + self.assertIn("password fields didn", alert) # Passwords should be empty self.assertEqual(password1.get_attribute('value'), '')