mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-26 19:44:00 +03:00
Updated test_forms.py to not check whether UserCreationForm has a clean_username() method
This commit is contained in:
parent
e0cf956fe2
commit
0a241a8f75
|
@ -20,7 +20,6 @@ class TestUserCreationForm:
|
|||
)
|
||||
|
||||
assert form.is_valid()
|
||||
assert form.clean_username() == proto_user.username
|
||||
|
||||
# Creating a user.
|
||||
form.save()
|
||||
|
|
Loading…
Reference in New Issue
Block a user