python: rename Deltachat class into DeltaChat

This commit is contained in:
link2xt
2022-12-04 13:56:53 +00:00
parent 2ccf39800d
commit 3cdbe213a3
5 changed files with 7 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
from .account import Account
from .contact import Contact
from .deltachat import Deltachat
from .deltachat import DeltaChat
from .message import Message
from .rpc import Rpc

View File

@@ -4,7 +4,7 @@ from .account import Account
from .rpc import Rpc
class Deltachat:
class DeltaChat:
"""
Delta Chat account manager.
This is the root of the object oriented API.

View File

@@ -7,7 +7,7 @@ import aiohttp
import pytest_asyncio
from .account import Account
from .deltachat import Deltachat
from .deltachat import DeltaChat
from .rpc import Rpc
@@ -20,7 +20,7 @@ async def get_temp_credentials() -> dict:
class ACFactory:
def __init__(self, deltachat: Deltachat) -> None:
def __init__(self, deltachat: DeltaChat) -> None:
self.deltachat = deltachat
async def new_configured_account(self) -> Account:
@@ -49,4 +49,4 @@ async def rpc(tmp_path) -> AsyncGenerator:
@pytest_asyncio.fixture
async def acfactory(rpc) -> AsyncGenerator:
yield ACFactory(Deltachat(rpc))
yield ACFactory(DeltaChat(rpc))