1
0
Fork 0
mirror of https://github.com/deltachat/deltachat-core.git synced 2025-10-04 10:19:16 +02:00

add DC_EVENT_SMTP_CONNECTED to macro

This commit is contained in:
holger krekel 2018-09-09 13:14:29 +02:00
parent 0aed6355c3
commit 75153289ef
2 changed files with 10 additions and 1 deletions

View file

@ -10,3 +10,12 @@ def test_empty_context():
def test_event_defines():
assert capi.lib.DC_EVENT_INFO == 100
assert capi.lib.DC_CONTACT_ID_SELF
def test_sig():
sig = capi.lib.dc_get_event_signature_types
assert sig(capi.lib.DC_EVENT_INFO) == 2
assert sig(capi.lib.DC_EVENT_WARNING) == 2
assert sig(capi.lib.DC_EVENT_ERROR) == 2
assert sig(capi.lib.DC_EVENT_SMTP_CONNECTED) == 2
assert sig(capi.lib.DC_EVENT_IMAP_CONNECTED) == 2
assert sig(capi.lib.DC_EVENT_SMTP_MESSAGE_SENT) == 2