add a test for imap capabilities offered from chatmail
This commit is contained in:
parent
8af825d7ea
commit
c1163228f6
@ -15,6 +15,13 @@ def test_init(tmp_path, maildomain):
|
|||||||
assert config.mail_domain == maildomain
|
assert config.mail_domain == maildomain
|
||||||
|
|
||||||
|
|
||||||
|
def test_capabilities(imap):
|
||||||
|
imap.connect()
|
||||||
|
capas = imap.conn.capabilities
|
||||||
|
assert "XCHATMAIL" in capas
|
||||||
|
assert "XDELTAPUSH" in capas
|
||||||
|
|
||||||
|
|
||||||
def test_login_basic_functioning(imap_or_smtp, gencreds, lp):
|
def test_login_basic_functioning(imap_or_smtp, gencreds, lp):
|
||||||
"""Test a) that an initial login creates a user automatically
|
"""Test a) that an initial login creates a user automatically
|
||||||
and b) verify we can also login a second time with the same password
|
and b) verify we can also login a second time with the same password
|
||||||
|
Loading…
Reference in New Issue
Block a user