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:
parent
0aed6355c3
commit
75153289ef
2 changed files with 10 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue