mirror of
https://github.com/chatmail/relay.git
synced 2026-05-18 08:48:58 +00:00
introduce remotelog fixture for capturing systemd-unit logs
This commit is contained in:
4
online-tests/test_0_basic.py
Normal file
4
online-tests/test_0_basic.py
Normal file
@@ -0,0 +1,4 @@
|
||||
def test_remotelog(remotelog, imap_or_smtp):
|
||||
lineproducer = remotelog.iter(imap_or_smtp.logunit)
|
||||
imap_or_smtp.connect()
|
||||
assert imap_or_smtp.logunit in next(lineproducer)
|
||||
Reference in New Issue
Block a user