Self hosted FLOSS fitness/workout, nutrition and weight tracker
Automatic linting
Github-actions73785e548b3f
diff --git a/wger/core/tests/test_registration.py b/wger/core/tests/test_registration.pyindex a980a6178..5d1cea228 100644--- a/wger/core/tests/test_registration.py+++ b/wger/core/tests/test_registration.py@@ -145,10 +145,12 @@ class RegistrationTestCase(WgerTestCase):self.user_logout()# Username is too long- long_user = ("my_username_is_"- "wayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"- "_toooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo"- "_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooong")+ long_user = (+ "my_username_is_"+ "wayyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"+ "_toooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo"+ "_loooooooooooooooooooooooooooooooooooooooooooooooooooooooooong"+ )registration_data['username'] = long_userresponse = self.client.post(reverse('core:user:registration'), registration_data)self.assertFalse(response.context['form'].is_valid())