clean
This commit is contained in:
parent
25112f20ea
commit
af3f9058af
|
@ -150,7 +150,8 @@ class ListMixin(object):
|
|||
address_name = '%s_name' % random_ascii(10)
|
||||
domain_name = '%sdomain.lan' % random_ascii(10)
|
||||
address_domain = Domain.objects.create(name=domain_name, account=self.account)
|
||||
self.add(name, password, admin_email, address_name=address_name, address_domain=address_domain)
|
||||
self.add(name, password, admin_email, address_name=address_name,
|
||||
address_domain=address_domain)
|
||||
# Mailman doesn't support changing the address, only the domain
|
||||
self.validate_add(name, address="%s@%s" % (address_name, address_domain))
|
||||
self.delete(name)
|
||||
|
|
Loading…
Reference in New Issue