Updated test_forms.py to not check whether UserCreationForm has a clean_username() method

This commit is contained in:
Arnav Choudhury 2021-01-29 22:16:11 +05:30
parent e0cf956fe2
commit 0a241a8f75

View File

@ -20,7 +20,6 @@ class TestUserCreationForm:
)
assert form.is_valid()
assert form.clean_username() == proto_user.username
# Creating a user.
form.save()