View | Details | Raw Unified | Return to bug 39103
Collapse All | Expand All

(-)06imap_login (+4 lines)
Lines 11-16 Link Here
11
import univention.testing.udm as udm_test
11
import univention.testing.udm as udm_test
12
import univention.testing.utils as utils
12
import univention.testing.utils as utils
13
import univention.config_registry
13
import univention.config_registry
14
from univention.testing.ucs_samba import wait_for_drs_replication
14
15
15
16
16
def main():
17
def main():
Lines 36-41 Link Here
36
								mailPrimaryAddress=mailAddress,
37
								mailPrimaryAddress=mailAddress,
37
								option=['mail', 'person', 'posix', 'samba', 'pki']
38
								option=['mail', 'person', 'posix', 'samba', 'pki']
38
								)
39
								)
40
						if utils.package_installed('univention-samba4'):
41
							wait_for_drs_replication('cn=%s' % username)
42
39
						try:
43
						try:
40
							print '* Test imap login with the correct password:'
44
							print '* Test imap login with the correct password:'
41
							imap = MailClient_SSL('%s.%s' % (ucr.get('hostname'), ucr.get('domainname')))
45
							imap = MailClient_SSL('%s.%s' % (ucr.get('hostname'), ucr.get('domainname')))

Return to bug 39103