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

Update python bindings to new headers naming

This fixes the python bindings build to work with the new layout of
the header files and new names.
This commit is contained in:
Floris Bruynooghe 2018-07-19 20:15:54 +02:00
parent 437bb33131
commit 3aeec2202a
4 changed files with 9 additions and 11 deletions

View file

@ -5,12 +5,6 @@ import pytest
from deltachat import capi
@pytest.fixture
def tmppath(tmpdir):
return pathlib.Path(tmpdir.strpath)
def test_new():
mbox = capi.lib.mrmailbox_new(capi.ffi.NULL, capi.ffi.NULL, capi.ffi.NULL)
capi.lib.mrmailbox_close(mbox)
assert 0
def test_empty_context():
ctx = capi.lib.dc_context_new(capi.ffi.NULL, capi.ffi.NULL, capi.ffi.NULL)
capi.lib.dc_close(ctx)