Fix unit test.

see #799
This commit is contained in:
Antoine Nguyen
2016-04-17 13:41:03 +02:00
parent 5b0525f257
commit 6ae2987a0e
+2 -1
View File
@@ -121,7 +121,8 @@ class DomainFormGeneral(forms.ModelForm, DynamicForm):
k, _("A %s with this name already exists")
% unicode(label)
)
self.aliases.append(cleaned_data[k])
else:
self.aliases.append(cleaned_data[k])
return cleaned_data
def save(self, user, commit=True, domalias_post_create=False):