chore(deltachat-rpc-client): fix ruff 0.6.0 warnings

This commit is contained in:
link2xt
2024-08-15 16:20:02 +00:00
parent 7fe9342d0d
commit 7432c6de84
4 changed files with 6 additions and 3 deletions

View File

@@ -12,10 +12,11 @@ import threading
import time
import pytest
from deltachat_rpc_client import EventType
@pytest.fixture()
@pytest.fixture
def path_to_webxdc(request):
p = request.path.parent.parent.parent.joinpath("test-data/webxdc/chess.xdc")
assert p.exists()

View File

@@ -1,6 +1,7 @@
import logging
import pytest
from deltachat_rpc_client import Chat, EventType, SpecialContactId

View File

@@ -8,6 +8,7 @@ import time
from unittest.mock import MagicMock
import pytest
from deltachat_rpc_client import Contact, EventType, Message, events
from deltachat_rpc_client.const import DownloadState, MessageState
from deltachat_rpc_client.direct_imap import DirectImap