mirror of
https://github.com/chatmail/relay.git
synced 2026-05-14 01:44:38 +00:00
generalize remotelog to "remote" and offer remote.iter_output method
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
def test_remotelog(remotelog, imap_or_smtp):
|
||||
lineproducer = remotelog.iter(imap_or_smtp.logcmd)
|
||||
def test_remote(remote, imap_or_smtp):
|
||||
lineproducer = remote.iter_output(imap_or_smtp.logcmd)
|
||||
imap_or_smtp.connect()
|
||||
assert imap_or_smtp.name in next(lineproducer)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user