mirror of
https://github.com/chatmail/core.git
synced 2026-05-21 07:46:31 +03:00
fix python lint issues
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
from __future__ import print_function
|
from __future__ import print_function
|
||||||
import pytest
|
from deltachat import capi, const, set_context_callback, clear_context_callback
|
||||||
from deltachat import capi, Account, const, set_context_callback, clear_context_callback
|
|
||||||
from deltachat.capi import ffi
|
from deltachat.capi import ffi
|
||||||
from deltachat.capi import lib
|
from deltachat.capi import lib
|
||||||
from deltachat.account import EventLogger
|
from deltachat.account import EventLogger
|
||||||
@@ -24,6 +23,7 @@ def test_dc_close_events():
|
|||||||
evlog.set_timeout(5)
|
evlog.set_timeout(5)
|
||||||
set_context_callback(ctx, lambda ctx, evt_name, data1, data2: evlog(evt_name, data1, data2))
|
set_context_callback(ctx, lambda ctx, evt_name, data1, data2: evlog(evt_name, data1, data2))
|
||||||
capi.lib.dc_close(ctx)
|
capi.lib.dc_close(ctx)
|
||||||
|
|
||||||
def find(info_string):
|
def find(info_string):
|
||||||
while 1:
|
while 1:
|
||||||
ev = evlog.get_matching("DC_EVENT_INFO", check_error=False)
|
ev = evlog.get_matching("DC_EVENT_INFO", check_error=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user