Fix type error

This commit is contained in:
Bruno Alla 2022-06-04 14:49:26 -03:00
parent 502e8e5235
commit cf6fc443bb

View File

@ -63,7 +63,7 @@ class TestUserUpdateView:
# Initialize the form # Initialize the form
form = UserAdminChangeForm() form = UserAdminChangeForm()
form.cleaned_data = [] form.cleaned_data = {}
view.form_valid(form) view.form_valid(form)
messages_sent = [m.message for m in messages.get_messages(request)] messages_sent = [m.message for m in messages.get_messages(request)]