Commit 10b13f38 authored by ViolanteCodes's avatar ViolanteCodes
Browse files

updated a test phrase to include commas

parent 8c802a50
......@@ -1487,7 +1487,7 @@ class TestLoginFormAttributes(SimpleTestCase):
"""Test sanitize_login_string method with MULTIPLE mixed
separators and bilateral whitespace to strip."""
form = LoginForm()
test_phrase = ' duo-_-atlas- hypnotism-_-----curry-creatable- rubble '
test_phrase = ' duo-_-atlas- hypnotism-_-----curry-creatable-,,,,, rubble '
result = form.sanitize_login_string(test_phrase)
self.assertEqual(result, 'duo-atlas-hypnotism-curry-creatable-rubble')
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment