fix capturing of logging to capture postfix better

This commit is contained in:
holger krekel
2023-10-16 19:48:54 +02:00
parent 97f0911b6f
commit 334f86f56f
3 changed files with 9 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
def test_remotelog(remotelog, imap_or_smtp):
lineproducer = remotelog.iter(imap_or_smtp.logunit)
lineproducer = remotelog.iter(imap_or_smtp.logcmd)
imap_or_smtp.connect()
assert imap_or_smtp.logunit in next(lineproducer)
assert imap_or_smtp.name in next(lineproducer)
def test_use_two_chatmailservers(cmfactory, maildomain2):